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:
Kerstin Humm 2024-08-07 14:17:23 +02:00
parent 35fab7d321
commit a51c76db30

View file

@ -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;
}
}