Files
2026-07-13 12:08:16 +08:00

19 lines
430 B
Nginx Configuration File

server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location /v1/ {
proxy_pass http://api:26866;
proxy_http_version 1.1;
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_read_timeout 120s;
}
location / {
try_files $uri $uri/ /index.html;
}
}