Skip to content

Commit

Permalink
Fix nginx routing (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
moria97 authored Nov 28, 2024
1 parent ce2a1b6 commit e67599e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@ server {
proxy_pass http://127.0.0.1:8001;
}

location /docs {
location /v1 {
proxy_set_header Host \$host;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8001;
}

location /openapi {
location /docs {
proxy_set_header Host \$host;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8001;
}

location /traces/ {
location /openapi {
proxy_set_header Host \$host;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:6006/;
proxy_pass http://127.0.0.1:8001;
}

#error_page 404 /404.html;
Expand Down

0 comments on commit e67599e

Please sign in to comment.