Remove unused proxy locations: rb10508, rb10408, skill-email
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
- Keep rb8001 as it may be accessed through gateway - Remove 502/404 error endpoints
This commit is contained in:
parent
219ea2b99d
commit
1aeab94dcf
@ -82,15 +82,6 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# RB10508 API endpoints - 51124 서버로 프록시
|
||||
location ^~ /rb10508/ {
|
||||
proxy_pass http://192.168.219.52:10508/;
|
||||
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;
|
||||
}
|
||||
|
||||
# RB8001 API endpoints - 51124 서버로 프록시
|
||||
location ^~ /rb8001/ {
|
||||
proxy_pass http://192.168.219.52:8001/;
|
||||
@ -100,15 +91,6 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# RB10408 API endpoints (희재님 테스트용) - 51124 서버로 프록시
|
||||
location ^~ /rb10408/ {
|
||||
proxy_pass http://192.168.219.52:10408/;
|
||||
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;
|
||||
}
|
||||
|
||||
# Robeing Gateway - API Gateway for routing to robeings
|
||||
location ^~ /gateway/ {
|
||||
proxy_pass http://localhost:8100/;
|
||||
@ -118,15 +100,6 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# Skill Email API endpoints
|
||||
location /skill-email/ {
|
||||
proxy_pass http://192.168.219.52:8501/;
|
||||
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/ {
|
||||
alias /var/www/html/.well-known/acme-challenge/;
|
||||
}
|
||||
@ -231,15 +204,6 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# RB10508 API endpoints - 51124 서버로 프록시
|
||||
location ^~ /rb10508/ {
|
||||
proxy_pass http://192.168.219.52:10508/;
|
||||
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;
|
||||
}
|
||||
|
||||
# RB8001 API endpoints - 51124 서버로 프록시
|
||||
location ^~ /rb8001/ {
|
||||
proxy_pass http://192.168.219.52:8001/;
|
||||
@ -249,15 +213,6 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# RB10408 API endpoints (희재님 테스트용) - 51124 서버로 프록시
|
||||
location ^~ /rb10408/ {
|
||||
proxy_pass http://192.168.219.52:10408/;
|
||||
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;
|
||||
}
|
||||
|
||||
# Robeing Gateway - API Gateway for routing to robeings
|
||||
location ^~ /gateway/ {
|
||||
proxy_pass http://localhost:8100/;
|
||||
@ -267,15 +222,6 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# Skill Email API endpoints
|
||||
location /skill-email/ {
|
||||
proxy_pass http://192.168.219.52:8501/;
|
||||
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/ {
|
||||
alias /var/www/html/.well-known/acme-challenge/;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user