mirror of
https://github.com/linuxserver/docker-snapdrop.git
synced 2026-02-20 08:17:27 +08:00
Merge pull request #23 from linuxserver/nginx-cleanup
Cleanup default site conf
This commit is contained in:
commit
ab295b2631
@ -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." }
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user