rel.sh port fixed

This commit is contained in:
Maygician 2020-10-05 17:02:26 +07:00
commit d15372540c
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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