Add default_server back to default site conf's https listen

This commit is contained in:
Eric Nemchik
2022-10-03 18:13:08 +00:00
parent fe294ddb85
commit c82e0fef4d
3 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
## Version 2022/09/01 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/site-confs/default.conf.sample
## Version 2022/10/03 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/site-confs/default.conf.sample
# redirect all traffic to https
server {
@@ -12,8 +12,8 @@ server {
# main server block
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name _;