Merge pull request #454 from linuxserver/ipv6-listen

separate ipv6 listen in default site-conf
This commit is contained in:
Eric Nemchik 2024-09-14 09:08:29 -07:00 committed by GitHub
commit e3cf74e961
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
## Version 2024/06/24 - Changelog: https://github.com/linuxserver/docker-nextcloud/commits/master/root/defaults/nginx/site-confs/default.conf.sample
## Version 2024/07/16 - Changelog: https://github.com/linuxserver/docker-nextcloud/commits/master/root/defaults/nginx/site-confs/default.conf.sample
# Set the `immutable` cache control options only for assets with a cache busting `v` argument
map $arg_v $asset_immutable {
@ -7,8 +7,10 @@ map $arg_v $asset_immutable {
}
server {
listen *:80 default_server;
listen *:443 ssl default_server;
listen 80 default_server;
listen [::]:80 default_server;
listen 443 ssl default_server;
listen [::]:443 ssl default_server;
server_name _;