Files
ThreatHunt/frontend/nginx.conf
kirby.is.austin9@gmail.com 5c1dc5cd15 Dockerized the application.
2025-06-18 09:02:57 +02:00

17 lines
384 B
Nginx Configuration File

server {
listen 80;
location /api {
proxy_pass http://backend:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
}