This commit is contained in:
vet
2026-04-21 12:41:15 +07:00
parent 6eb89ad2a9
commit a34f6ad515

View File

@@ -222,6 +222,17 @@ server {
client_max_body_size 100m; client_max_body_size 100m;
location /api/ {
proxy_pass http://127.0.0.1:8281;
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_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 300s;
proxy_send_timeout 300s;
}
location = /nginx-health { location = /nginx-health {
access_log off; access_log off;
default_type text/plain; default_type text/plain;