From 8009fe9553e685149ab37581282c03deab59aa02 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Fri, 11 Mar 2022 21:28:06 +0100 Subject: [PATCH] fix --- .../nginx-reverse-proxy-server/templates/revprox-nginx.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/seed/applicationservice/2022.03.08/nginx-reverse-proxy-server/templates/revprox-nginx.conf b/seed/applicationservice/2022.03.08/nginx-reverse-proxy-server/templates/revprox-nginx.conf index 415f406..63bccae 100644 --- a/seed/applicationservice/2022.03.08/nginx-reverse-proxy-server/templates/revprox-nginx.conf +++ b/seed/applicationservice/2022.03.08/nginx-reverse-proxy-server/templates/revprox-nginx.conf @@ -9,9 +9,8 @@ server { error_page 403 404 502 503 504 /error.html; location / { - rewrite ^(.*) https://$host$1 permanent; - break; - } + rewrite ^(.*) https://$host$1 permanent; + break; } # FIXME return 301 https://www.domain.com$request_uri; => https://www.nginx.com/blog/creating-nginx-rewrite-rules/ }