Files
planilla/ui/nginx.conf
josedario87 6d7f95fc71
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 12s
build-and-deploy / deploy (push) Successful in 26s
seguimos habilitando la funcion realtime
2025-06-09 17:36:27 -06:00

30 lines
543 B
Nginx Configuration File

server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location /events {
proxy_pass http://planilla-api:4000;
proxy_http_version 1.1;
proxy_set_header Connection '';
chunked_transfer_encoding off;
proxy_buffering off;
proxy_cache off;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
}
location /config.js {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Content-Type' 'application/javascript';
}
}