Skip to content

Commit

Permalink
Merge pull request #454 from linuxserver/ipv6-listen
Browse files Browse the repository at this point in the history
separate ipv6 listen in default site-conf
  • Loading branch information
nemchik authored Sep 14, 2024
2 parents d8bcbb3 + c47352a commit e3cf74e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions root/defaults/nginx/site-confs/default.conf.sample
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -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 _;

Expand Down

0 comments on commit e3cf74e

Please sign in to comment.