Move https responsibilities to caddy
This commit is contained in:
parent
3857674244
commit
13781ba7d9
2
start
2
start
|
@ -15,7 +15,7 @@ fi
|
||||||
|
|
||||||
if [[ "$1" == "prod" ]]; then
|
if [[ "$1" == "prod" ]]; then
|
||||||
echo "Starting gunicorn production server..."
|
echo "Starting gunicorn production server..."
|
||||||
gunicorn -b 0.0.0.0:80 -b 0.0.0.0:443 "undercover:create_app()"
|
gunicorn -b localhost:8080 "undercover:create_app()"
|
||||||
else
|
else
|
||||||
echo "Starting local dev server..."
|
echo "Starting local dev server..."
|
||||||
export FLASK_APP=undercover
|
export FLASK_APP=undercover
|
||||||
|
|
Loading…
Reference in New Issue