瀏覽代碼

Merge pull request #1666 from TobiasKneidl/patch-1

Update default.conf to follow the default site setting also for ipv6
jc21 4 年之前
父節點
當前提交
adc5a2020a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      backend/templates/default.conf

+ 2 - 2
backend/templates/default.conf

@@ -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;