Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (23 sloc) 980 Bytes

Caddy

We recommend using Caddy server as a proxy for File Browser. Caddy is a blazing fast and fantastic web server (such as Nginx or Apache) with automatic HTTPS through Let's Encrypt. It's really easy to use too.

So, how to use it with File Browser? We just need the proxy directive! We will assume you already have File Browser running on port 8080.

Run on root domain

example.com

proxy / 127.0.0.1:8080

Run on sub-directory

If you want to run it on a sub-directory, don't forget to set the Base URL option with the intended path. For example, if you want to access File Browser on /admin, you should first run:

filebrowser config set --baseurl /admin

And then, use the following Caddyfile:

example.com

proxy /admin 127.0.0.1:8080

Same as above, but setting the sub-directory at the top:

localhost:2015/admin

proxy / 127.0.0.1:8080
You can’t perform that action at this time.