http://xmrhfasfg5suueegrnc4gsgyi2tyclcy5oz7f5drnrodmdtob6t2ioyd.onion/onion-services/advanced/onion-location/index.html
If you're using Caddy 2, to include an Onion-Location header, add the following declaration in your Caddyfile: header Onion-Location http://<your-onion-address>.onion{path} If you're running a static site and have the onion address in a $TOR_HOSTNAME environment variable, your Caddyfile will look like this: your-website.tld
header Onion-Location http://{$TOR_HOSTNAME}{path}
root * /var/www
file_server Testing it out: Test it out with: $ wget --server-response --spider...