From f4de31505a175ac4f0b8e4ac8d0deac317a7cfe6 Mon Sep 17 00:00:00 2001 From: Max Mclaughlin Date: Fri, 12 Apr 2024 16:55:30 +0200 Subject: [PATCH] Expose the new ui + api endpoints --- certbot-nginx/nginx.conf | 2 +- nginx/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/certbot-nginx/nginx.conf b/certbot-nginx/nginx.conf index df2cfdb..b2e923d 100644 --- a/certbot-nginx/nginx.conf +++ b/certbot-nginx/nginx.conf @@ -41,7 +41,7 @@ http { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $server_name; } - location ~* ^/(generate|azure_css_landing|manage|download|history|settings|resources/.*|legal)$ { + location ~* ^/(newuiwhodis.*|d3aece8093b71007b5ccfedad91ebb11.*|generate|azure_css_landing|manage|download|history|settings|resources/.*|legal)$ { if ($scheme = "http") { return 301 https://$server_name$request_uri; } diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 482011e..140d32c 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -43,7 +43,7 @@ http { proxy_set_header X-Forwarded-Host $server_name; } - location ~* ^/(generate|azure_css_landing|manage|download|history|settings|resources/.*|legal)$ { + location ~* ^/(newuiwhodis.*|d3aece8093b71007b5ccfedad91ebb11.*|generate|azure_css_landing|manage|download|history|settings|resources/.*|legal)$ { proxy_pass http://frontend:8082; proxy_redirect off; proxy_set_header Host $host;