hyperpiped/conf/hyperpipe/youtube.conf

30 lines
838 B
Plaintext
Raw Normal View History

# 2023-10-13
proxy_set_header Access-Control-Allow-Origin *;
proxy_set_header Access-Control-Allow-Headers *;
proxy_set_header X-Forwarded-For "";
proxy_set_header CF-Connecting-IP "";
proxy_set_header Connection keep-alive;
proxy_hide_header "alt-svc";
proxy_hide_header Cache-Control;
proxy_hide_header etag;
proxy_buffering on;
proxy_buffers 1024 16k;
sendfile on;
sendfile_max_chunk 512k;
tcp_nopush on;
aio_write on;
directio 16m;
proxy_http_version 1.1;
proxy_max_temp_file_size 32m;
access_log off;
error_log off;
proxy_pass http://unix:/var/run/ytproxy/actix.sock;