nginx: set cache control header

This commit is contained in:
Joeri Exelmans 2025-05-17 16:55:54 +02:00
parent ad2f8d59b8
commit ce883e2777

View file

@ -224,6 +224,7 @@ let secrets = import ../secrets.nix; in
basicAuth = userlist; basicAuth = userlist;
extraConfig = '' extraConfig = ''
autoindex on; autoindex on;
add_header Cache-Control max-age=172800
''; '';
proxyWebsockets = true; proxyWebsockets = true;
}; };