Merge pull request #131 from linuxserver/default-tweaks

nginx conf tweaks
This commit is contained in:
Eric Nemchik 2022-08-23 16:53:16 -05:00 committed by GitHub
commit 6b6ecc9bb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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