From 8efe642be09e268035a5319c3753a78ab5b9ba22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Mon, 20 Nov 2017 22:36:37 +0100 Subject: [PATCH] Fix redirect to https with ipv6 enabled networks --- docs/u_e-80_to_443.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/u_e-80_to_443.md b/docs/u_e-80_to_443.md index b2b66108f..218dd55b2 100644 --- a/docs/u_e-80_to_443.md +++ b/docs/u_e-80_to_443.md @@ -6,7 +6,8 @@ Open `data/conf/nginx/site.conf` and add a new site at the top of that file: ``` server { - listen 80 default_server; + listen 80 default_server; + listen [::]:80 default_server; include /etc/nginx/conf.d/server_name.active; return 301 https://$host$request_uri; }