From 5e44094472ba3177350dd6fc2187e358c667c3d7 Mon Sep 17 00:00:00 2001 From: earnolmartin Date: Mon, 8 Feb 2021 15:41:23 -0700 Subject: [PATCH] minor change --- .../generic_nginx_templates/password_protected_directory.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ehcp/etc/generic_nginx_templates/password_protected_directory.conf b/ehcp/etc/generic_nginx_templates/password_protected_directory.conf index a036407..49e747e 100644 --- a/ehcp/etc/generic_nginx_templates/password_protected_directory.conf +++ b/ehcp/etc/generic_nginx_templates/password_protected_directory.conf @@ -4,7 +4,7 @@ location ^~ /{protected_directory_path}/ { auth_basic "Restricted Area"; auth_basic_user_file {protected_directory_credentials_file}; location ~ ^/{protected_directory_path}/(.+\.php)$ { - try_files $uri $uri/ /{protected_directory_path}/index.php?$args; + try_files $uri =404; root {homedir}/httpdocs; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php;