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:
Executable
+11
@@ -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;'
|
||||
Reference in New Issue
Block a user