From 6aef1ac04fcfbbc473f5543864e95c7ad8362945 Mon Sep 17 00:00:00 2001 From: tarik56 Date: Sun, 21 Jun 2026 17:25:16 +0200 Subject: [PATCH] fix: ssl routing 80 to 443 on / so acme-challenge is still accesible --- templates/nginx.conf.template.ssl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/nginx.conf.template.ssl b/templates/nginx.conf.template.ssl index 8c11cb1..2d39a6e 100644 --- a/templates/nginx.conf.template.ssl +++ b/templates/nginx.conf.template.ssl @@ -36,7 +36,9 @@ http { {% endif %} {% if app_data.ssl and app_data.ssl_ready -%} - return 301 https://$host$request_uri; + location / { + return 301 https://$host$request_uri; + } {% endif %} }