1
0
Fork 0
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:
Augustin Trancart 2020-05-01 17:40:51 +02:00
parent b01c695cb8
commit 2e7e016631

View file

@ -13,7 +13,7 @@ location __PATH__ {
location __PATH__/assets/ {
expires max;
add_header Cache-Control public;
more_set_headers 'Cache-Control: public';
}
# Include SSOWAT user panel.