diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 0000000..91d59ba --- /dev/null +++ b/Caddyfile @@ -0,0 +1,3 @@ +undercover.cafe + +reverse_proxy :8080 diff --git a/start b/start index ff1a855..0362957 100755 --- a/start +++ b/start @@ -15,7 +15,7 @@ fi if [[ "$1" == "prod" ]]; then 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 echo "Starting local dev server..." export FLASK_APP=undercover