Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Announce onion address in HTTP header #1770

Closed
jzbz opened this issue Jul 5, 2020 · 3 comments · Fixed by #1990
Closed

Announce onion address in HTTP header #1770

jzbz opened this issue Jul 5, 2020 · 3 comments · Fixed by #1990

Comments

@jzbz
Copy link
Member

jzbz commented Jul 5, 2020

Enabling Onion-Location will inform Tor Browser users who hit the plain dcrdata URL that a Tor hidden service is available and provide them the onion address.

https://community.torproject.org/onion-services/advanced/onion-location/

@chappjc
Copy link
Member

chappjc commented Jul 8, 2020

Pretty cool. We can even build off of commit 516d701 to add a <meta http-equiv="onion-location" content="http://<your-onion-service-address>.onion" /> attribute to the html head element to achieve the same effect without tweaking the reverse proxy.

@chappjc
Copy link
Member

chappjc commented Jul 8, 2020

I hacked it into the header via nginx for now.

image

BTW, I really should move the hidden service host to europe since most of the relays, guards, and exits are there.

@ukane-philemon
Copy link
Collaborator

@chappjc, is this still relevant? I can add that info in the HTML head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants