Merge pull request #1666 from TobiasKneidl/patch-1

Update default.conf to follow the default site setting also for ipv6
This commit is contained in:
jc21 2021-12-27 11:03:14 +10:00 committed by GitHub
commit adc5a2020a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,9 +7,9 @@
server {
listen 80 default;
{% if ipv6 -%}
listen [::]:80;
listen [::]:80 default;
{% else -%}
#listen [::]:80;
#listen [::]:80 default;
{% endif %}
server_name default-host.localhost;
access_log /data/logs/default-host_access.log combined;