Skip to content

Commit

Permalink
nginx 映射 /b6 到 @builder6/server
Browse files Browse the repository at this point in the history
  • Loading branch information
hotlong committed Dec 19, 2024
1 parent de718ce commit f0fb0b3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions deploy/enterprise/fs/opt/steedos/templates/nginx-app.conf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,19 @@ fi
alias /opt/steedos/info.json;
}
location /b6 {
proxy_http_version 1.1;
proxy_buffering off;
proxy_max_temp_file_size 0;
proxy_redirect off;
proxy_set_header Host \$http_host/b6;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto \$origin_scheme;
proxy_set_header X-Forwarded-Host \$origin_host;
proxy_set_header Connection "";
proxy_pass http://localhost:5100/b6;
}
location /api/v6 {
proxy_http_version 1.1;
proxy_buffering off;
Expand Down

0 comments on commit f0fb0b3

Please sign in to comment.