nginx conf tweaks

This commit is contained in:
Eric Nemchik 2022-08-23 09:24:55 -05:00
parent df24c3860e
commit a50d975a98

View File

@ -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)(.*)$ {