15 lines
341 B
Text
15 lines
341 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";
|
||
|
}
|
||
|
}
|