minor change

This commit is contained in:
earnolmartin 2021-02-08 15:41:23 -07:00
parent dbb1872f2b
commit 5e44094472

View file

@ -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;