Skip to content
Snippets Groups Projects
Commit d6031c10 authored by uıןǝnbsɐW ןǝɐʞɔıW's avatar uıןǝnbsɐW ןǝɐʞɔıW
Browse files

Update project.nomad

parent 6ccbb64c
No related branches found
No related tags found
No related merge requests found
...@@ -117,10 +117,9 @@ server { ...@@ -117,10 +117,9 @@ server {
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
location ~ \.php$ { location ~ \.php$ {
root html;
fastcgi_pass {{ range service "php-fpm" }}{{ .Address }}:{{ .Port }}{{ end }}; fastcgi_pass {{ range service "php-fpm" }}{{ .Address }}:{{ .Port }}{{ end }};
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params; include fastcgi_params;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment