Rename nginx.config.example to nginx.config.home.example

This commit is contained in:
tianyu
2015-07-23 10:08:54 +08:00
parent ec40c2e6e0
commit ea32d32e22

View 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;
}