From d443403837a359bdf948418f77be4df2144aa9cf Mon Sep 17 00:00:00 2001 From: tofu Date: Sun, 15 Jun 2025 22:56:32 -0700 Subject: [PATCH 1/2] add nginx handler for recipes container --- nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nginx.conf b/nginx.conf index 5ec6e2255..8ec9e0b39 100644 --- a/nginx.conf +++ b/nginx.conf @@ -51,6 +51,12 @@ http { proxy_set_header X-Base-URL "$scheme://$host"; proxy_pass http://cleezy-nginx.sce; } + + location ~ /recipe/(.*)$ { + proxy_set_header X-Original-URL "$scheme://$host$request_uri"; + proxy_set_header X-Base-URL "$scheme://$host"; + proxy_pass http://recipe-nginx.sce; + } location ~ ^/transit/ { resolver 127.0.0.11 valid=15s; From 37cbe4f7365017750bd5b14fe399b1cdc84c6ed2 Mon Sep 17 00:00:00 2001 From: Evan Ugarte <36345325+evanugarte@users.noreply.github.com> Date: Mon, 16 Jun 2025 22:45:20 -0700 Subject: [PATCH 2/2] Update nginx.conf --- nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/nginx.conf b/nginx.conf index 8ec9e0b39..35d78d676 100644 --- a/nginx.conf +++ b/nginx.conf @@ -56,6 +56,7 @@ http { proxy_set_header X-Original-URL "$scheme://$host$request_uri"; proxy_set_header X-Base-URL "$scheme://$host"; proxy_pass http://recipe-nginx.sce; + rewrite ^/recipe(.*)$ $1 break; } location ~ ^/transit/ {