post(tor-nixos): clarify reverse proxy

This commit is contained in:
MDLeom 2020-03-21 04:38:43 +00:00
parent aa5dd91d54
commit 47d9b7dd28
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
---
title: "How to make your website available over Tor hidden service on NixOS"
excerpt: "A guide on Tor hidden service in NixOS"
excerpt: "A guide on Tor hidden service on NixOS"
date: 2020-03-16
tags:
- web
@ -257,6 +257,8 @@ xw226dvxac7jzcpsf4xb64r4epr6o5hgn46dxlqk7gnjptakik6xnzqd.onion:8080 {
There is another approach which has a much simpler Caddyfile, but it _doubles_ the latency. I could simply reverse proxy to mdleom.com but that itself is {% post_link caddy-nixos-part-3 'also' %} a reverse proxy, so it would add one more roundtrip. But hey, if the latency doesn't faze you, why not.
This is also suitable if you have a website that you can't root access.
```
# Do not use this approach unless you are absolutely sure
xw226dvxac7jzcpsf4xb64r4epr6o5hgn46dxlqk7gnjptakik6xnzqd.onion:8080 {