Merge pull request 'feat: add /rb8001/ routing for rb8001 container on port 8001' (#1) from happybell80 into main
All checks were successful
Deploy Nginx Config to Ubuntu Server / deploy (push) Successful in 1s
All checks were successful
Deploy Nginx Config to Ubuntu Server / deploy (push) Successful in 1s
Reviewed-on: ivada_Ro-being/nginx-infra#1
This commit is contained in:
commit
bdb718b4bc
@ -155,6 +155,15 @@ server {
|
|||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# RB8001 API endpoints
|
||||||
|
location /rb8001/ {
|
||||||
|
proxy_pass http://localhost:8001/;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
}
|
||||||
|
|
||||||
location /.well-known/acme-challenge/ {
|
location /.well-known/acme-challenge/ {
|
||||||
alias /var/www/html/.well-known/acme-challenge/;
|
alias /var/www/html/.well-known/acme-challenge/;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user