nginx: set cache control header
This commit is contained in:
parent
ad2f8d59b8
commit
ce883e2777
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue