hyperpiped/conf/piped/proxy.conf

27 lines
712 B
Plaintext

# 2023-10-13
server {
listen 80;
server_name pipedproxy.domain.com;
aio threads=default;
location ~* \.(jpg|jpeg|png|gif|ico)$ {
expires 30d;
add_header Cache-Control "public, no-transform";
}
location ~ (/videoplayback|/api/v4/|/api/manifest/) {
aio threads=default;
include snippets/ytproxy.conf;
add_header Cache-Control private always;
}
location / {
aio threads=default;
include snippets/ytproxy.conf;
add_header Cache-Control "public, max-age=604800";
}
}