Compare commits

..

1 commit
v0.1.0 ... main

Author SHA1 Message Date
e235cec8a3 Fix 404 on static assets behind the regex location block
All checks were successful
Build and Push Docs Image / build (push) Successful in 4m23s
2026-08-23 19:47:50 +02:00

View file

@ -1,6 +1,6 @@
server { server {
listen 80; listen 80;
server_name style.lvl0.xyz; server_name _; # behind a reverse proxy; match any Host
location / { location / {
root /usr/share/nginx/html; root /usr/share/nginx/html;
@ -9,6 +9,7 @@ server {
} }
location ~* \.(css|js|png|jpg|jpeg|gif|ico|svg|woff|woff2)$ { location ~* \.(css|js|png|jpg|jpeg|gif|ico|svg|woff|woff2)$ {
root /usr/share/nginx/html;
expires 1y; expires 1y;
add_header Cache-Control "public, immutable"; add_header Cache-Control "public, immutable";
} }