Create nginx.config.example
This commit is contained in:
parent
b17ee24212
commit
0af79e20eb
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue