diff --git a/nginx.conf b/nginx.conf index 5ec6e2255..35d78d676 100644 --- a/nginx.conf +++ b/nginx.conf @@ -51,6 +51,13 @@ 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; + rewrite ^/recipe(.*)$ $1 break; + } location ~ ^/transit/ { resolver 127.0.0.11 valid=15s;