Files
sprawozdania-frontend/services/nginx.conf
T
deploy 5e3595f97f
Build and Deploy Docker / build (push) Successful in 3m49s
Build and Deploy Docker / deploy (push) Successful in 30s
add docker for release; add cicdg
2026-07-14 15:01:23 +02:00

22 lines
470 B
Nginx Configuration File

server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location /api/ {
proxy_pass http://backend/;
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;
}
location / {
try_files $uri $uri/ /index.html;
}
}