Advertise the onion site on clearnet via Onion-Location header.
This commit is contained in:
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user