diff --git a/compilators/debian/nginx/nginx.conf b/compilators/debian/nginx/nginx.conf index 852cdf3..bfb7ebf 100644 --- a/compilators/debian/nginx/nginx.conf +++ b/compilators/debian/nginx/nginx.conf @@ -120,7 +120,7 @@ http { location ~ \.php$ { include fastcgi_params; - fastcgi_param SCRIPT_FILENAME /usr/local/phyre/web/$fastcgi_script_name; + fastcgi_param SCRIPT_FILENAME /usr/local/phyre/web/public/$fastcgi_script_name; fastcgi_pass unix:/run/phyre-php.sock; fastcgi_intercept_errors on; break; diff --git a/web/public/index.php b/web/public/index.php index ad45f1f..24d0093 100644 --- a/web/public/index.php +++ b/web/public/index.php @@ -1,16 +1,4 @@