Skip to content

Commit

Permalink
Update nginx.locations.conf.j2
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealHaoLiu committed Mar 7, 2024
1 parent d1f7d03 commit 40e1876
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 40e1876

Please sign in to comment.