Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions www/conf/sites-available/90-desec.static.location
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ location / {
root /usr/share/nginx/html/;
error_page 403 =503 /503.html;

# advertise HTTP/3
add_header Alt-Svc 'h3=":443"; ma=86400' always;

gzip on;
gzip_types *;

location /index.html {
expires epoch;
add_header Alt-Svc 'h3=":443"; ma=86400' always;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
# CSP hashes are for legacy browser support.
# Source: https://github.com/vitejs/vite/tree/v5.0.10/packages/plugin-legacy#content-security-policy
Expand Down
Loading