# Install ``` bash <(wget --no-check-certificate -qO- "https://raw.githubusercontent.com/MoeClub/Note/master/Deluge/deluge.sh") "deluge" ``` # Reset Passwd ``` python "$HOME/.config/deluge/deluge_passwd.py" "deluge" ``` # Nginx ``` location ^~ /deluge { if ($request_uri = "/deluge") { rewrite .* "$scheme://$host$uri/" redirect; } auth_basic "\n"; auth_basic_user_file /etc/nginx/password; proxy_set_header Cookie "_session_id=000000000000000000000000000;"; proxy_cookie_domain $proxy_host $host; proxy_pass http://127.0.0.1:8112; client_max_body_size 10m; } ```