From c9beb4a15dafc31a952359e60dc9710690f221fb Mon Sep 17 00:00:00 2001 From: Sheppy Date: Wed, 15 Mar 2023 13:01:41 +0100 Subject: [PATCH] fix: listen 80 for acme forwarding --- templates/nginx_server_block.conf.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/nginx_server_block.conf.j2 b/templates/nginx_server_block.conf.j2 index 226207f..899dd22 100644 --- a/templates/nginx_server_block.conf.j2 +++ b/templates/nginx_server_block.conf.j2 @@ -9,9 +9,10 @@ server{ {% if acme %} include acme-challenge.conf; + {% endif %} + listen 80; listen [::]:80; - {% endif %} {% if extra_location %} location {{ extra_location["location"] }} {