rel.sh port fixed
This commit is contained in:
parent
daf319d786
commit
d15372540c
2 changed files with 3 additions and 2 deletions
|
|
@ -8,5 +8,5 @@ key=`mix phx.gen.secret`
|
|||
echo 'export SECRET_KEY_BASE='$key >> ~/.bashrc
|
||||
fi
|
||||
if [ -z "$PORT"]; then
|
||||
echo 'export PORT=9999' >> ~/.bashrc
|
||||
echo 'export PORT=443' >> ~/.bashrc
|
||||
fi
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
in production, you would usually deal with static assets at application server layer, possibly not hitting Phoenix at all.
|
||||
|
||||
uses https only on port 443 in dev
|
||||
|
||||
|
|
|
|||
Reference in a new issue