Revert "Replaced config SCHEME with Flask's own PREFERRED_URL_SCHEME setting."

This reverts commit 8318d4b1f6.
This commit is contained in:
2017-09-01 16:19:58 +02:00
parent fe64a0c70e
commit 3a3b3c3269
5 changed files with 10 additions and 6 deletions

View File

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