Written by Justin Goetz -
This will be a guide on to run FileRun behind apache2 reverse proxy with SSL support. FileRun, http://www.filerun.com/, is an excellent file sharing program that looks very similar to Google Drive, making it great for users who are used to already accustomed to using gDrive.
First, install FileRun as usual. I personally installed this on a fresh Debian 8 VM, so I followed FileRun's excellent guide for installation. Oddly enough I found these directions on their blog rather than their documentation section, but oh well.
When your finished, configure your main internet-facing node as a reverse proxy. I personally use letsencrypt for all of my SSL certificates. Here is my apache2 reverse proxy configuration:https://justingoetz.net/files/vhost_filerun.txt
Note: SSL configuration (including the redirects at the bottom) was done by letsencrypt.
Now, we'll want to setup a self-signed certificate on the VM running FileRun, because if its not being accessed via HTTPS it freaks out. I followed this guide to accomplish this.
Lastly, we need to change a configuration file. This part is importaint. cd to the directory where you installed FileRun. For example mine will be
/var/www/html/. cd into the
customizables directory. Create and edit a file called
Paste the following:
Change the URL to of course what fits your configuration.
Load the site and test if it works!