Skip to content

Commit efa841d

Browse files
authored
Merge pull request #842 from Shuro/patch-1
Use configured default page also for IPv6
2 parents f2293a9 + d1fac58 commit efa841d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

backend/templates/default.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
{%- else %}
77
server {
88
listen 80 default;
9+
{% if ipv6 -%}
10+
listen [::]:80;
11+
{% else -%}
12+
#listen [::]:80;
13+
{% endif %}
914
server_name default-host.localhost;
1015
access_log /data/logs/default_host.log combined;
1116
{% include "_exploits.conf" %}

0 commit comments

Comments
 (0)