jassen/deploy/nginx-jassen.pauker.at.conf
2026-07-25 18:51:57 +02:00

22 lines
427 B
Plaintext

# Server: https://jassen.pauker.at
# DocumentRoot: /web/jassen/dist (Vite-Build)
server {
listen 80;
listen [::]:80;
server_name jassen.pauker.at;
root /web/jassen/dist;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location ~* \.(js|css|png|svg|ico|woff2?)$ {
expires 7d;
add_header Cache-Control "public";
try_files $uri =404;
}
}