forked from Github-Mirrors/canaille
Merge branch 'doc-nginx-headers' into 'main'
doc: Don't set nested headers for nginx, use more_set_headers instead See merge request yaal/canaille!176
This commit is contained in:
commit
107ea63183
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ Nginx
|
|||
location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|html|xml|otf|ttf|eot|woff|woff2|svg)$ {
|
||||
access_log off;
|
||||
expires 30d;
|
||||
add_header Cache-Control public;
|
||||
more_set_headers Cache-Control public;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue