Files
CADmind/frontend/nginx.conf.example
2026-09-24 10:40:57 +08:00

25 lines
603 B
Plaintext

# Replace paths/upstream for the deployment host. This is not installed automatically.
server {
listen 80;
server_name localhost;
root /srv/lingxin/frontend/dist;
index index.html;
client_max_body_size 140m;
location /api/ {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_read_timeout 900s;
proxy_send_timeout 900s;
}
location /files/ {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_read_timeout 900s;
}
location / {
try_files $uri $uri/ =404;
}
}