Add robeing-gateway proxy configuration
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
- Add /gateway/ location for API Gateway (port 8100) - Configure for both HTTP and HTTPS server blocks - Enable request routing to robeing services
This commit is contained in:
parent
04a73eed52
commit
ded038b8cd
@ -96,6 +96,15 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# Robeing Gateway - API Gateway for routing to robings
|
||||
location ^~ /gateway/ {
|
||||
proxy_pass http://localhost:8100/;
|
||||
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;
|
||||
}
|
||||
|
||||
# Skill Email API endpoints
|
||||
location /skill-email/ {
|
||||
proxy_pass http://localhost:8501/;
|
||||
@ -223,6 +232,15 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# Robeing Gateway - API Gateway for routing to robings
|
||||
location ^~ /gateway/ {
|
||||
proxy_pass http://localhost:8100/;
|
||||
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;
|
||||
}
|
||||
|
||||
# Skill Email API endpoints
|
||||
location /skill-email/ {
|
||||
proxy_pass http://localhost:8501/;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user