From c14f5c53b6b436882431b64d1341039b4b9136a2 Mon Sep 17 00:00:00 2001 From: hwansae91 Date: Sun, 31 Aug 2025 15:34:15 +0900 Subject: [PATCH] =?UTF-8?q?[hotfix]=20=20stub=5Fstatus=20on=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0(=EC=B6=94=ED=9B=84=20=EC=83=9D=EC=84=B1=ED=95=A0=20?= =?UTF-8?q?=EC=98=88=EC=A0=95)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server-nginx-default | 64 -------------------------------------------- 1 file changed, 64 deletions(-) diff --git a/server-nginx-default b/server-nginx-default index e0c0bd7..53e1427 100644 --- a/server-nginx-default +++ b/server-nginx-default @@ -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/; } } \ No newline at end of file