Fix frontend
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
dvirlabs 2026-03-22 10:56:56 +02:00
parent 42f0651147
commit dad519e07c

View File

@ -10,6 +10,17 @@ server {
gzip_min_length 1024;
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml+rss application/json application/javascript;
# Proxy API requests to backend
location ~ ^/(login|register|logout|lists|tasks|auth) {
proxy_pass http://tasko-backend:8000;
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_redirect off;
}
location / {
try_files $uri $uri/ /index.html;
}