From 34cf6698bcd2ba6d4273bd293300cb40cd2ea067 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Mon, 15 May 2023 20:14:26 +0200 Subject: [PATCH] remove superfluous try_files in nginx config if php-backend (non-fastcgi) is used Signed-off-by: Michael Kaufmann --- lib/Froxlor/Cron/Http/Nginx.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Froxlor/Cron/Http/Nginx.php b/lib/Froxlor/Cron/Http/Nginx.php index e7504320..51230334 100644 --- a/lib/Froxlor/Cron/Http/Nginx.php +++ b/lib/Froxlor/Cron/Http/Nginx.php @@ -1171,7 +1171,6 @@ class Nginx extends HttpConfigBase $phpopts .= "\t\tinclude " . Settings::Get('nginx.fastcgiparams') . ";\n"; $phpopts .= "\t\tfastcgi_param SCRIPT_FILENAME \$request_filename;\n"; $phpopts .= "\t\tfastcgi_param PATH_INFO \$fastcgi_path_info;\n"; - $phpopts .= "\t\ttry_files \$fastcgi_script_name =404;\n"; $phpopts .= "\t\tfastcgi_pass " . Settings::Get('system.nginx_php_backend') . ";\n"; $phpopts .= "\t\tfastcgi_index index.php;\n"; if ($domain['ssl'] == '1' && $ssl_vhost) {