Skip to content

Commit

Permalink
require https in production
Browse files Browse the repository at this point in the history
disable dynamic port and server for ws
  • Loading branch information
whadar committed Aug 14, 2013
1 parent f55b9a4 commit bfec6a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sharefest/run-prod.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bfec6a7

Please sign in to comment.