# Template for serving through an .onion address with Docker

**URL:** <https://meta.discourse.org/t/template-for-serving-through-an-onion-address-with-docker/41536>\
**Category:** Development\
**Created:** [24.Март.2016 20:58:54 UTC](https://meta.discourse.org/t/template-for-serving-through-an-onion-address-with-docker/41536 "2016-03-24T20:58:54Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [28.Март.2016 03:36:50 UTC](https://meta.discourse.org/t/template-for-serving-through-an-onion-address-with-docker/41536/5 "2016-03-28T03:36:50Z")

</div>

> [@RomeoPapa](#):
>
> Thinking about it the most standard way would probably be writing it in the “Welcome to Discourse” pinned topic.
> 
> However the interesting thing would be to give a more visible notice to visitors coming from an exit node (or even redirect them directly to the onion site).
> 
> There is a method in place to detect if a visitor is using the IP of an exit node:[A public TorDNSEL service](https://www.torproject.org/projects/tordnsel.html.en)

I was thinking more along the lines of a `<link rel=alternate>` or an `Alt-Svc: onion:8fd8279...` HTTP header… something usable by the TBB.

---

_[View the full topic](https://meta.discourse.org/t/template-for-serving-through-an-onion-address-with-docker/41536)._
