mirror of
https://github.com/trufflesecurity/xsshunter
synced 2024-11-28 07:10:21 +00:00
9 lines
344 B
Bash
9 lines
344 B
Bash
|
#!/usr/bin/env bash
|
||
|
echo "Initializing SSL/TLS..."
|
||
|
# Set up Greenlock
|
||
|
# Test if --maintainer-email is required, we can set it via environment variables...
|
||
|
npx greenlock init --config-dir /app/greenlock.d --maintainer-email $SSL_CONTACT_EMAIL
|
||
|
npx greenlock add --subject $HOSTNAME --altnames "$HOSTNAME"
|
||
|
|
||
|
echo "Starting server..."
|
||
|
node server.js
|