From b450648caa0d1bd5c91e67a33153bbacaf57f006 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 10 Aug 2024 00:14:17 +0900 Subject: feat: prepend base path --- nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nginx.conf') diff --git a/nginx.conf b/nginx.conf index 92c21f3..b54d6ae 100644 --- a/nginx.conf +++ b/nginx.conf @@ -12,7 +12,7 @@ http { server { listen 80; - location /api/ { + location /iosdc-japan/2024/code-battle/api/ { proxy_pass http://api-server; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; @@ -20,7 +20,7 @@ http { proxy_set_header X-Forwarded-Proto $scheme; } - location /admin/ { + location /iosdc-japan/2024/code-battle/admin/ { proxy_pass http://api-server; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; @@ -28,7 +28,7 @@ http { proxy_set_header X-Forwarded-Proto $scheme; } - location /sock/ { + location /iosdc-japan/2024/code-battle/sock/ { proxy_pass http://api-server; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; @@ -39,7 +39,7 @@ http { proxy_set_header X-Forwarded-Proto $scheme; } - location / { + location /iosdc-japan/2024/code-battle/ { proxy_pass http://app-server; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; -- cgit v1.2.3-70-g09d2