aboutsummaryrefslogtreecommitdiffhomepage
path: root/nginx.conf
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-13 23:08:50 +0900
committernsfisis <nsfisis@gmail.com>2026-02-13 23:08:50 +0900
commit470b7235b80d082009ad350e2b33ef6637209e02 (patch)
tree60ffe938a4051255ea0d6b35001be50c28b76497 /nginx.conf
parent482c3a52a0fcc5870a7db4a190475caf61b211a3 (diff)
parent6c30f383a65cb000d66a85cadc96253ce7061942 (diff)
downloadphperkaigi-2026-albatross-470b7235b80d082009ad350e2b33ef6637209e02.tar.gz
phperkaigi-2026-albatross-470b7235b80d082009ad350e2b33ef6637209e02.tar.zst
phperkaigi-2026-albatross-470b7235b80d082009ad350e2b33ef6637209e02.zip
Merge branch 'feat/frontend-rearchitecture'
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf10
1 files changed, 5 insertions, 5 deletions
diff --git a/nginx.conf b/nginx.conf
index e2a3dd3..11ac5ed 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -3,9 +3,13 @@ events {
}
http {
+ include mime.types;
+
server {
listen 80;
+ root /var/www;
+
location /iosdc-japan/2025/code-battle/files/ {
alias /var/www/files/;
}
@@ -27,11 +31,7 @@ http {
}
location /iosdc-japan/2025/code-battle/ {
- proxy_pass http://app-server;
- 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;
+ try_files $uri $uri/ /iosdc-japan/2025/code-battle/index.html;
}
}
}