From 40e1876b9c4a96aca8a915bb6fb7ae04c804dc9c Mon Sep 17 00:00:00 2001 From: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com> Date: Thu, 7 Mar 2024 14:11:21 -0500 Subject: [PATCH] Update nginx.locations.conf.j2 --- .../ansible/roles/sources/templates/nginx.locations.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/docker-compose/ansible/roles/sources/templates/nginx.locations.conf.j2 b/tools/docker-compose/ansible/roles/sources/templates/nginx.locations.conf.j2 index 7c91a3c856a7..404be4ade26b 100644 --- a/tools/docker-compose/ansible/roles/sources/templates/nginx.locations.conf.j2 +++ b/tools/docker-compose/ansible/roles/sources/templates/nginx.locations.conf.j2 @@ -41,6 +41,7 @@ location {{ ingress_path }} { error_page 502 = @fallback; } +# Enable scenario where we shutdown uwsgi and launching runserver for debugging purposes location @fallback { # Add trailing / if missing rewrite ^(.*)$http_host(.*[^/])$ $1$http_host$2/ permanent;