Files
unduck/nginx.conf
2025-07-02 23:50:22 -04:00

17 lines
382 B
Nginx Configuration File

server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html index.htm;
location / {
try_files $uri $uri/ /index.html;
}
# Optional: Cache control for assets
location ~* \.(js|css|png|jpg|jpeg|gif|ico|woff|woff2|ttf|svg|eot)$ {
expires 1y;
add_header Cache-Control "public, no-transform";
}
}