Add production Docker stack with nginx and Tor.

Mirror NullCart's clearnet HTTPS and onion hidden-service pattern for serving the static promo site on a VPS.
This commit is contained in:
2026-09-10 12:48:17 +02:00
parent edbc591a04
commit b57db5f1ac
15 changed files with 294 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
set -eu
export CLEARNET_DOMAIN
envsubst '${CLEARNET_DOMAIN}' \
< /etc/nginx/templates/conf.d/clearnet.conf.template \
> /etc/nginx/conf.d/clearnet.conf
cp /etc/nginx/templates/conf.d/onion.conf /etc/nginx/conf.d/onion.conf
exec nginx -g 'daemon off;'