浏览代码

Merge pull request #842 from Shuro/patch-1

Use configured default page also for IPv6
jc21 4 年之前
父节点
当前提交
efa841d75a
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      backend/templates/default.conf

+ 5 - 0
backend/templates/default.conf

@@ -6,6 +6,11 @@
 {%- else %}
 server {
   listen 80 default;
+{% if ipv6 -%}
+  listen [::]:80;
+{% else -%}
+  #listen [::]:80;
+{% endif %}
   server_name default-host.localhost;
   access_log /data/logs/default_host.log combined;
 {% include "_exploits.conf" %}