Let Flask know our preferred URL scheme

This commit is contained in:
Sybren A. Stüvel 2017-09-01 16:20:37 +02:00
parent 3a3b3c3269
commit 4b1bb6283e

View File

@ -13,6 +13,8 @@ RFC1123_DATE_FORMAT = '%a, %d %b %Y %H:%M:%S GMT'
PILLAR_SERVER_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SCHEME = 'https'
PREFERRED_URL_SCHEME = SCHEME
STORAGE_DIR = getenv('PILLAR_STORAGE_DIR', '/data/storage/pillar')
PORT = 5000
HOST = '0.0.0.0'