mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 11:07:44 +00:00
nginx: fix missing headers
This commit is contained in:
parent
4b9209bc97
commit
7302727cfc
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ in {
|
||||||
|
|
||||||
locations."~ ^/assets/(fonts|icons|images)/".extraConfig = /* nginx */ ''
|
locations."~ ^/assets/(fonts|icons|images)/".extraConfig = /* nginx */ ''
|
||||||
expires max;
|
expires max;
|
||||||
|
${config.services.nginx.headers}
|
||||||
add_header Cache-Control $cache_header always;
|
add_header Cache-Control $cache_header always;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue