From 72aaf76cf475245ef399ad076606b0b4be776ee3 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Wed, 28 Jul 2021 10:31:59 -0400 Subject: [PATCH] Closes #6702: Update reference nginx config to support IPv6 --- contrib/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/nginx.conf b/contrib/nginx.conf index 1230f3ce4..34821cd52 100644 --- a/contrib/nginx.conf +++ b/contrib/nginx.conf @@ -1,5 +1,5 @@ server { - listen 443 ssl; + listen [::]:443 ssl ipv6only=off; # CHANGE THIS TO YOUR SERVER'S NAME server_name netbox.example.com; @@ -23,7 +23,7 @@ server { server { # Redirect HTTP traffic to HTTPS - listen 80; + listen [::]:80 ipv6only=off; server_name _; return 301 https://$host$request_uri; }