aboutsummaryrefslogtreecommitdiffhomepage
path: root/nginx.conf
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-10 00:14:17 +0900
committernsfisis <nsfisis@gmail.com>2024-08-10 00:14:17 +0900
commitb450648caa0d1bd5c91e67a33153bbacaf57f006 (patch)
tree8dce01b8eb398759a3abdb97d3d333b52738c768 /nginx.conf
parenta7342525e5e4052113e6d5e75b6fd50c91687514 (diff)
downloadphperkaigi-2025-albatross-b450648caa0d1bd5c91e67a33153bbacaf57f006.tar.gz
phperkaigi-2025-albatross-b450648caa0d1bd5c91e67a33153bbacaf57f006.tar.zst
phperkaigi-2025-albatross-b450648caa0d1bd5c91e67a33153bbacaf57f006.zip
feat: prepend base path
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf8
1 files changed, 4 insertions, 4 deletions
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;