adding validated services? patching forcad_local.py

This commit is contained in:
Your Name
2026-08-13 08:32:35 +07:00
parent d485f61169
commit e795614e45
1459 changed files with 420036 additions and 436 deletions

View File

@@ -0,0 +1,40 @@
events {
worker_connections 1024;
}
http {
include mime.types;
server {
listen 80;
server_name localhost;
proxy_connect_timeout 5s;
proxy_send_timeout 5s;
proxy_read_timeout 5s;
location / {
root /frontend-dist;
index index.html;
expires 30d;
add_header Cache-Control "public, immutable";
access_log off;
}
location /api/ {
proxy_pass http://polyphonia-binary-server:3000;
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 ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
root /frontend-dist; # Files will be read from /frontend-dist$uri
try_files $uri =404; # Dont fall back to upstream if missing
expires 30d;
add_header Cache-Control "public, immutable";
access_log off;
}
}
}