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:
Éloi Rivard 2024-08-15 16:43:07 +00:00
commit 107ea63183

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