Skip to content

Commit

Permalink
New Release:adding demos endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
AthulyaMS committed May 29, 2024
1 parent e980a74 commit 2412192
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
16 changes: 8 additions & 8 deletions docker/nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ server {
proxy_pass http://vachan-tbt:8003;
}

# location /v2/demos/ {
# # Important, make sure you always remove the trailing slash
# proxy_pass http://vachan-demos:8002;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Host $http_host;
# proxy_set_header X-Forwarded-Proto $scheme;
# }
location /v2/demos/ {
# Important, make sure you always remove the trailing slash
proxy_pass http://vachan-demos:8002;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
}

location / {
# Important, make sure you always remove the trailing slash
Expand Down
4 changes: 3 additions & 1 deletion docker/nginx/prod/app.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ server {
proxy_pass http://vachan-tbt:8003;
}


location /v2/demos/ {
proxy_pass http://vachan-demos:8002;
}

location / {
proxy_pass http://vachan-api:8000;
Expand Down

0 comments on commit 2412192

Please sign in to comment.