Merge pull request #23 from linuxserver/nginx-cleanup

Cleanup default site conf
This commit is contained in:
Eric Nemchik 2024-02-06 21:03:08 -06:00 committed by GitHub
commit ab295b2631
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -64,6 +64,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "06.02.24:", desc: "Existing users should update: site-confs/default.conf - Cleanup default site conf." }
- { date: "23.12.23:", desc: "Rebase to Alpine 3.19 with php 8.3."}
- { date: "25.05.23:", desc: "Rebase to Alpine 3.18, deprecate armhf." }
- { date: "13.04.23:", desc: "Move ssl.conf include to default.conf." }

View File

@ -1,4 +1,4 @@
## Version 2023/08/25 - Changelog: https://github.com/linuxserver/docker-snapdrop/commits/master/root/defaults/nginx/site-confs/default.conf.sample
## Version 2023/12/25 - Changelog: https://github.com/linuxserver/docker-snapdrop/commits/master/root/defaults/nginx/site-confs/default.conf.sample
server {
listen 80 default_server;
@ -12,14 +12,14 @@ server {
include /config/nginx/ssl.conf;
root /app/www/client;
index index.html index.htm index.php;
index index.html;
location / {
# enable for basic auth
#auth_basic "Restricted";
#auth_basic_user_file /config/nginx/.htpasswd;
try_files $uri $uri/ /index.html /index.php$is_args$args =404;
try_files $uri $uri/ /index.html;
}
location /server {