Files
Astronome/nginx.conf
T
2026-04-09 23:37:10 +02:00

26 lines
463 B
Nginx Configuration File

events {
worker_connections 1024;
}
http {
upstream backend { server backend:3001; }
upstream frontend { server frontend:80; }
server {
listen 80;
client_max_body_size 60M;
location /api/ {
proxy_pass http://backend;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_read_timeout 60s;
}
location / {
proxy_pass http://frontend;
proxy_set_header Host $host;
}
}
}