scripts-github-mirror/net/youtube/nginx.config.home.example

12 lines
321 B
Plaintext

# aria2 jsonrpc
location /jsonrpc {
auth_basic "Authentication required";
auth_basic_user_file /etc/nginx/.dlpasswd;
proxy_pass http://127.0.0.1:6800;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}