From dc1a67f0c42fc917cbfab992820d13e2e0b07e71 Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Sun, 26 Nov 2023 01:36:09 +0200 Subject: [PATCH] update --- compilators/debian/nginx/nginx.conf | 2 +- web/public/index.php | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) 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 @@