diff --git a/sharefest/run-prod.sh b/sharefest/run-prod.sh index 4dc74f6..21ae179 100644 --- a/sharefest/run-prod.sh +++ b/sharefest/run-prod.sh @@ -1,8 +1,8 @@ #!/bin/sh export NODE_ENV=production -export WS_SERVER="`curl http://169.254.169.254/latest/meta-data/public-ipv4`" -export WS_PORT=443 - +#export WS_SERVER="`curl http://169.254.169.254/latest/meta-data/public-ipv4`" +#export WS_PORT=443 +export REQUIRE_HTTPS=1 NOW=$(date +"%F") forever stop server.js forever start -e err.log -o out.log -l $NOW.log --append server.js