From a50d975a98d59a2b8ec43dea24e8ee8c5773ef46 Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Tue, 23 Aug 2022 09:24:55 -0500 Subject: [PATCH] nginx conf tweaks --- root/defaults/nginx/site-confs/default.conf.sample | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/root/defaults/nginx/site-confs/default.conf.sample b/root/defaults/nginx/site-confs/default.conf.sample index 6840046..4171f9d 100644 --- a/root/defaults/nginx/site-confs/default.conf.sample +++ b/root/defaults/nginx/site-confs/default.conf.sample @@ -12,18 +12,12 @@ server { root /app/www/public; index index.html index.htm index.php; - error_page 599 = @noauth; - - location @noauth { - try_files $uri $uri/ /index.php?$args; - } - location / { # enable for basic auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - try_files $uri $uri/ /index.php?$query_string; + try_files $uri $uri/ /index.php$is_args$args; } location ~ ^(.+\.php)(.*)$ {