mirror of
https://github.com/xdtianyu/scripts.git
synced 2025-08-08 20:00:54 +08:00
Rename nginx.config.example to nginx.config.home.example
This commit is contained in:
11
net/youtube/nginx.config.home.example
Normal file
11
net/youtube/nginx.config.home.example
Normal file
@@ -0,0 +1,11 @@
|
||||
# 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;
|
||||
}
|
Reference in New Issue
Block a user