mirror of
https://github.com/YunoHost-Apps/diaspora_ynh.git
synced 2024-09-03 18:26:13 +02:00
Use more_set_headers instead of add_header in nginx conf
Best practice enforced by linter
This commit is contained in:
parent
b01c695cb8
commit
2e7e016631
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ location __PATH__ {
|
||||||
|
|
||||||
location __PATH__/assets/ {
|
location __PATH__/assets/ {
|
||||||
expires max;
|
expires max;
|
||||||
add_header Cache-Control public;
|
more_set_headers 'Cache-Control: public';
|
||||||
}
|
}
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
|
|
Loading…
Add table
Reference in a new issue