Spaces:
Running
Running
File size: 609 Bytes
74791b6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
worker_processes 1;
events { worker_connections 1024; }
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 7860;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
# Serve files, fallback to index.html for client‑side routing
location / {
try_files $uri $uri/ /index.html;
}
# Optional: caching static assets
location ~* \.(js|css|png|jpg|jpeg|gif|svg|ico)$ {
expires 30d;
add_header Cache-Control "public";
}
}
}
|