forked from Github-Mirrors/canaille
doc: Don't set nested headers for nginx, use more_set_headers instead
See https://github.com/yandex/gixy/blob/master/docs/en/plugins/addheaderredefinition.md
This commit is contained in:
parent
35fab7d321
commit
a51c76db30
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