Created
March 5, 2019 15:20
-
-
Save 3cL1p5e7/5239304ea4b1b8c1ccc23c306c5a4a60 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
set -e | |
sed -i 's=\$HOSTNAME=https://'${HOSTNAME:-localhost}'=g' /usr/share/nginx/html/index.html /usr/share/nginx/html/*.js | |
exec nginx -g "daemon off;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment