mnisyif_frontend/nginx.conf
2024-07-12 01:19:54 -04:00

14 lines
No EOL
310 B
Nginx Configuration File

server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
location ~* \.(?:jpg|jpeg|gif|png|ico|svg|woff|woff2|ttf|css|js)$ {
expires 30d;
add_header Cache-Control "public, no-transform";
}
}