Skip to main content
Version: 0.1.x

Reverse Proxy

For production use, you should use a reverse proxy like nginx, traefik or Apache to serve the directory browser. This has many advantages, like SSL support, caching and more.

Here are some configurations for different reverse proxies:

<VirtualHost *:80>
ServerName domain.tld

ProxyPass /
ProxyPassReverse /

<VirtualHost *:443>
ServerName domain.tld

ProxyPass /
ProxyPassReverse /

SSLEngine on
SSLCertificateFile cert.pem
SSLCertificateKeyFile cert.key
server {
listen 80;
listen 443 ssl;
server_name domain.tld;

location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;

ssl_certificate /path/to/cert.pem;
ssl_certificate_key /path/to/cert.key;

traefik TODO