mirror of
https://github.com/TeamPiped/Piped-Docker.git
synced 2024-08-14 23:56:53 +00:00
15 lines
333 B
Text
15 lines
333 B
Text
|
server {
|
||
|
listen 80;
|
||
|
server_name PROXY_HOSTNAME;
|
||
|
|
||
|
location ~ (/videoplayback|/api/v4/|/api/manifest/) {
|
||
|
include snippets/ytproxy.conf;
|
||
|
add_header Cache-Control private always;
|
||
|
}
|
||
|
|
||
|
location / {
|
||
|
include snippets/ytproxy.conf;
|
||
|
add_header Cache-Control "public, max-age=604800";
|
||
|
}
|
||
|
}
|