Browse Source

Nginx config update

master
filesite 3 years ago
parent
commit
525741e768
  1. 2
      Nginx.conf.md

2
Nginx.conf.md

@ -17,7 +17,7 @@ Nginx config:
} }
# 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 ~ /(index)\.php$ { location ~ ^/index\.php$ {
fastcgi_pass 127.0.0.1:9000; fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www/fscphp/www$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME /var/www/fscphp/www$fastcgi_script_name;

Loading…
Cancel
Save