diff --git a/source/_posts/onion-location-redirect.md b/source/_posts/onion-location-redirect.md index eceb985..bbca55a 100644 --- a/source/_posts/onion-location-redirect.md +++ b/source/_posts/onion-location-redirect.md @@ -38,6 +38,15 @@ example.com { } ``` +## Netlify + +Add custom header by using [`_headers`](https://docs.netlify.com/routing/headers/) file saved the root folder of your site: + +``` plain _headers +/* + Onion-Location: http://xxx.onion +``` + ## tag If you don't have access to the web server to add the header (e.g. GitHub/GitLab Pages), you can add `` tag instead.