Skip to content
EFS edited this page Sep 28, 2019 · 22 revisions

Table of Contents


How to create a public download directory?

You can use nginx fancyindex to create a read-only download link:

sudo su -
cd /etc/nginx/apps
touch $username.public.conf
cat > $username.public.conf << EOF
location /$username.public {
  alias /home/$username/public;
  include /etc/nginx/snippets/fancyindex.conf;
  location ~* \.php$ {

  }
}
EOF
nginx -s reload

please change the $username as well as alias /home/$username/public . You will be able to access your folder via https://YOURDOMAIN/$username.public

How to enable the share link of File Browser?

Due to the default setting, the auth function of File Browser. You have to reenable it, and the nginx basic auth should also be disabled. Here is the manual

  • Stop File Browser 服务 service

    sudo su -
    systemctl stop filebrowser@$username
  • reconfigure filebrowser

    filebrowser -d /home/$username/.config/filebrowser/filebrowser.db config set --address 0.0.0.0 --auth.method=json
  • disable nginx basic auth, commit following line in /etc/nginx/apps/filebrowser.conf

    #auth_basic "Password Required";
    #auth_basic_user_file /etc/htpasswd.d/htpasswd.$remote_user;
  • restart service

    nginx -s reload
    systemctl start filebrowser@$username
How to connect Flood to rTorrent?

When you initialize Flood, choose unix, and fill with following info, $username need to be replaced.

/var/run/$username/.rtorrent.sock
Why the auth popup windows keeping asking your auth info after login Flood ?

The Flood also use Basic auth, so the Cookies will be changed after successfully authencated. For now, there is currently no fundamental solution.

Why my torrents being rechecked after restart the BT client?

The BT clients will record resume data periodically. When these data didn't saved into its database when closing the client, it will cause the recheck action to ensure data integrity. When you need to shutdown the client (as well as halt your server), please pause all the active torrents and wait about 5 min.

Clone this wiki locally