This commit is contained in:
2026-02-26 09:11:59 +01:00
parent 7862273342
commit 66e8eb0cee
2 changed files with 27 additions and 0 deletions

16
vhost.conf Normal file
View File

@@ -0,0 +1,16 @@
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ $uri.html =404;
}
location ~* \.(jpg|jpeg|png|gif|ico|css|js|mp4|webm)$ {
expires 30d;
add_header Cache-Control "public, no-transform";
}
}