Skip to content

Commit

Permalink
fix: update nginx gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgehermo9 committed Oct 24, 2024
1 parent bc9c948 commit eae3e6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/gateway/nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;

# TODO: check if we should use /docs or /docs/. Why /api/ is different?
location /docs {
proxy_pass ${DOCS_URL};
}

location /api {
location /api/ {
proxy_pass ${API_URL};
}

Expand Down

0 comments on commit eae3e6c

Please sign in to comment.