kthulu/codebase/apps/web/nginx.conf
2026-03-06 17:17:19 -08:00

18 lines
396 B
Nginx Configuration File

server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location /api/ {
proxy_pass http://api:3780/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
location / {
try_files $uri $uri/ /index.html;
}
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml;
}