Enable https and --preload on the admin to improve letsencrypt support

This commit is contained in:
Pierre Jaury
2017-02-12 16:32:46 +01:00
parent a1845dc05f
commit be5562620e
5 changed files with 26 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
python manage.py db upgrade
gunicorn -w 4 -b 0.0.0.0:80 --access-logfile - --error-logfile - mailu:app
gunicorn -w 4 -b 0.0.0.0:80 --access-logfile - --error-logfile - --preload mailu:app