Advertise the onion site on clearnet via Onion-Location header.

This commit is contained in:
2026-09-11 15:26:03 +02:00
parent 08a0bdcdb8
commit 77cd686347
4 changed files with 26 additions and 0 deletions
+8
View File
@@ -144,6 +144,14 @@ Save and exit the editor. Optional — run once manually to verify:
./deploy/scripts/show-onion.sh
```
Copy the hostname into `.env.prod` as `ONION_HOSTNAME`, then recreate nginx:
```bash
docker compose --env-file .env.prod -f docker-compose.prod.yml up -d --force-recreate nginx
```
Tor Browser will then show ".onion available" when visitors open the clearnet site over HTTPS.
## 9. Complete shop setup
1. Open the CMS on clearnet or onion (`/cms`).