fix nginx api proxy path

This commit is contained in:
Pavel Umansky 2026-04-22 21:03:26 +02:00
parent 0947656e99
commit 9e2490fe67

View File

@ -53,7 +53,7 @@ http {
try_files $uri $uri/ /index.html;
}
location /api/ {
proxy_pass http://backend;
proxy_pass http://backend/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;