[hotfix]
All checks were successful
Deploy Nginx Config to Ubuntu Server / deploy (push) Successful in 2s
All checks were successful
Deploy Nginx Config to Ubuntu Server / deploy (push) Successful in 2s
stub_status on 제거(추후 생성할 예정)
This commit is contained in:
parent
0d2550d84c
commit
c14f5c53b6
@ -48,18 +48,11 @@ server {
|
||||
location / {
|
||||
# First attempt to serve request as file, then
|
||||
# as directory, then fall back to displaying a 404.
|
||||
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
# API endpoints
|
||||
location /api/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://localhost:8000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -69,9 +62,6 @@ server {
|
||||
|
||||
# Admin dashboard
|
||||
location /admin {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://localhost:8000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -81,9 +71,6 @@ server {
|
||||
|
||||
# RB10508 API endpoints - 51124 서버로 프록시
|
||||
location ^~ /rb10508/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://192.168.219.52:10508/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -93,9 +80,6 @@ server {
|
||||
|
||||
# RB8001 API endpoints - 51124 서버로 프록시
|
||||
location ^~ /rb8001/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://192.168.219.52:8001/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -105,9 +89,6 @@ server {
|
||||
|
||||
# RB10408 API endpoints (희재님 테스트용) - 51124 서버로 프록시
|
||||
location ^~ /rb10408/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://192.168.219.52:10408/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -117,9 +98,6 @@ server {
|
||||
|
||||
# Robeing Gateway - API Gateway for routing to robeings
|
||||
location ^~ /gateway/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://localhost:8100/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -129,9 +107,6 @@ server {
|
||||
|
||||
# Skill Email API endpoints
|
||||
location /skill-email/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://localhost:8501/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -140,9 +115,6 @@ server {
|
||||
}
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
alias /var/www/html/.well-known/acme-challenge/;
|
||||
}
|
||||
|
||||
@ -212,17 +184,11 @@ server {
|
||||
|
||||
# Main application static files
|
||||
location / {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
# API endpoints
|
||||
location /api/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://localhost:8000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -232,9 +198,6 @@ server {
|
||||
|
||||
# Admin dashboard
|
||||
location /admin {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://localhost:8000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -244,9 +207,6 @@ server {
|
||||
|
||||
# RB10508 API endpoints - 51124 서버로 프록시
|
||||
location ^~ /rb10508/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://192.168.219.52:10508/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -256,9 +216,6 @@ server {
|
||||
|
||||
# RB8001 API endpoints - 51124 서버로 프록시
|
||||
location ^~ /rb8001/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://192.168.219.52:8001/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -268,9 +225,6 @@ server {
|
||||
|
||||
# RB10408 API endpoints (희재님 테스트용) - 51124 서버로 프록시
|
||||
location ^~ /rb10408/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://192.168.219.52:10408/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -280,9 +234,6 @@ server {
|
||||
|
||||
# Robeing Gateway - API Gateway for routing to robeings
|
||||
location ^~ /gateway/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://localhost:8100/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -292,9 +243,6 @@ server {
|
||||
|
||||
# Skill Email API endpoints
|
||||
location /skill-email/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://localhost:8501/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -303,9 +251,6 @@ server {
|
||||
}
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
alias /var/www/html/.well-known/acme-challenge/;
|
||||
}
|
||||
|
||||
@ -368,9 +313,6 @@ server {
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
|
||||
location / {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://localhost:3000/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -396,9 +338,6 @@ server {
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
|
||||
location / {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
proxy_pass http://localhost:9000/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -411,9 +350,6 @@ server {
|
||||
}
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
# metric 수집
|
||||
stub_status on;
|
||||
|
||||
alias /var/www/html/.well-known/acme-challenge/;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user