Let Flask know our preferred URL scheme
This commit is contained in:
@@ -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__)))
|
PILLAR_SERVER_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||||
|
|
||||||
SCHEME = 'https'
|
SCHEME = 'https'
|
||||||
|
PREFERRED_URL_SCHEME = SCHEME
|
||||||
|
|
||||||
STORAGE_DIR = getenv('PILLAR_STORAGE_DIR', '/data/storage/pillar')
|
STORAGE_DIR = getenv('PILLAR_STORAGE_DIR', '/data/storage/pillar')
|
||||||
PORT = 5000
|
PORT = 5000
|
||||||
HOST = '0.0.0.0'
|
HOST = '0.0.0.0'
|
||||||
|
Reference in New Issue
Block a user