From 33f342d35d1dc66850902337bb19c1b89405eb72 Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 6 Jul 2021 21:30:40 -0500 Subject: [PATCH] Update nginx.conf extend example nginx config to listen on IPv6 addresses as well as IPv4. --- contrib/nginx.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/nginx.conf b/contrib/nginx.conf index 1230f3ce4..fb8b5c57c 100644 --- a/contrib/nginx.conf +++ b/contrib/nginx.conf @@ -1,6 +1,7 @@ server { listen 443 ssl; - + listen [::]:443 ssl; + # CHANGE THIS TO YOUR SERVER'S NAME server_name netbox.example.com; @@ -24,6 +25,7 @@ server { server { # Redirect HTTP traffic to HTTPS listen 80; + listen [::]:80; server_name _; return 301 https://$host$request_uri; }