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:
parent
e64e43d137
commit
ee61a7df85
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ location ~ (__PATH__/proxy/videoplayback|__PATH__/proxy/api/v4/|__PATH__/proxy/a
|
||||||
proxy_max_temp_file_size 32m;
|
proxy_max_temp_file_size 32m;
|
||||||
access_log off;
|
access_log off;
|
||||||
proxy_pass http://127.0.0.1:__PORT_PROXY__;
|
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/ {
|
location __PATH__/proxy/ {
|
||||||
|
@ -51,7 +51,7 @@ location __PATH__/proxy/ {
|
||||||
proxy_max_temp_file_size 32m;
|
proxy_max_temp_file_size 32m;
|
||||||
access_log off;
|
access_log off;
|
||||||
proxy_pass http://127.0.0.1:__PORT_PROXY__/;
|
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'";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue