blob: 99c0c6aaab34d9eb03bdba8f3ce4ff43b98aa1a1 [file] [log] [blame]
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +01001server {
2 listen 8081;
3 listen [::]:8081;
4 index index.php index.html;
5 server_name _;
6 error_log /var/log/nginx/error.log;
7 access_log /var/log/nginx/access.log;
8 root /dynmaps;
9
10 location ~ \.php$ {
11 try_files $uri =404;
12 fastcgi_split_path_info ^(.+\.php)(/.+)$;
13 fastcgi_pass phpfpm:9001;
14 fastcgi_index index.php;
15 include fastcgi_params;
16 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
17 fastcgi_param PATH_INFO $fastcgi_path_info;
18 }
19}