# caddy (/etc/caddy/Caddyfile) http://fastdl.example.org { root * /path/to/your/assets file_server browse handle /maps/* { redir http://main.fastdl.me/maps/{file} } }
# nginx (/etc/nginx/sites-enabled/fastdl.example.org.conf) (untested) server { listen 80; server_name fastdl.example.org; root /path/to/your/assets; location / { autoindex on; try_files $uri $uri/ $uri/index.html =404; } location ~ /maps/(.*)$ { return 302 http://main.fastdl.me/maps/$1; } }