1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piped_ynh.git synced 2024-09-03 20:05:54 +02:00

Update nginx.conf

This commit is contained in:
orhtej2 2024-01-28 21:14:30 +01:00
parent e64e43d137
commit ee61a7df85

View file

@ -29,7 +29,7 @@ location ~ (__PATH__/proxy/videoplayback|__PATH__/proxy/api/v4/|__PATH__/proxy/a
proxy_max_temp_file_size 32m;
access_log off;
proxy_pass http://127.0.0.1:__PORT_PROXY__;
add_header Cache-Control private always;
more_set_headers "Cache-Control: private always";
}
location __PATH__/proxy/ {
@ -51,7 +51,7 @@ location __PATH__/proxy/ {
proxy_max_temp_file_size 32m;
access_log off;
proxy_pass http://127.0.0.1:__PORT_PROXY__/;
add_header Cache-Control "public, max-age=604800";
more_set_headers "Cache-Control: 'public, max-age=604800'";
}