From d15372540c27a3361ce4b17c31b1cd0eb8f4ca6c Mon Sep 17 00:00:00 2001 From: Maygician Date: Mon, 5 Oct 2020 17:02:26 +0700 Subject: [PATCH] rel.sh port fixed --- deploy/rel.sh | 2 +- docs/notes | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy/rel.sh b/deploy/rel.sh index 054ea71..e28da21 100644 --- a/deploy/rel.sh +++ b/deploy/rel.sh @@ -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 \ No newline at end of file diff --git a/docs/notes b/docs/notes index 410d552..15fc80e 100644 --- a/docs/notes +++ b/docs/notes @@ -1,2 +1,3 @@ in production, you would usually deal with static assets at application server layer, possibly not hitting Phoenix at all. - \ No newline at end of file + uses https only on port 443 in dev +