Merge pull request #842 from Shuro/patch-1

Use configured default page also for IPv6
This commit is contained in:
jc21 2021-01-28 08:45:12 +10:00 committed by GitHub
commit efa841d75a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" %}