mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 08:16:06 -07:00
Revert https cert and key to custom directory
This commit is contained in:
parent
2990664b2b
commit
af4d0248d9
1 changed files with 2 additions and 2 deletions
|
@ -95,9 +95,9 @@ def initialize(config_file):
|
||||||
'HTTP_PORT out of bounds: 21 < %s < 65535', CONFIG.HTTP_PORT)
|
'HTTP_PORT out of bounds: 21 < %s < 65535', CONFIG.HTTP_PORT)
|
||||||
CONFIG.HTTP_PORT = 8181
|
CONFIG.HTTP_PORT = 8181
|
||||||
|
|
||||||
if not CONFIG.HTTPS_CERT.startswith(os.path.abspath(DATA_DIR)):
|
if not CONFIG.HTTPS_CERT:
|
||||||
CONFIG.HTTPS_CERT = os.path.join(DATA_DIR, 'server.crt')
|
CONFIG.HTTPS_CERT = os.path.join(DATA_DIR, 'server.crt')
|
||||||
if not CONFIG.HTTPS_KEY.startswith(os.path.abspath(DATA_DIR)):
|
if not CONFIG.HTTPS_KEY:
|
||||||
CONFIG.HTTPS_KEY = os.path.join(DATA_DIR, 'server.key')
|
CONFIG.HTTPS_KEY = os.path.join(DATA_DIR, 'server.key')
|
||||||
|
|
||||||
if not CONFIG.LOG_DIR.startswith(os.path.abspath(DATA_DIR)):
|
if not CONFIG.LOG_DIR.startswith(os.path.abspath(DATA_DIR)):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue