Don't fail if SSL port is not defined

This commit is contained in:
AaronDewes 2022-02-16 12:54:29 +00:00
parent 28001625d8
commit 4df838147b

4
scripts/configure vendored
View File

@ -169,7 +169,9 @@ if reconfiguring:
TOR_PASSWORD=dotenv['TOR_PASSWORD']
TOR_HASHED_PASSWORD=dotenv['TOR_HASHED_PASSWORD']
NGINX_PORT=dotenv['NGINX_PORT']
NGINX_SSL_PORT=dotenv['NGINX_SSL_PORT']
NGINX_SSL_PORT="443"
if 'NGINX_SSL_PORT' in dotenv:
NGINX_SSL_PORT=dotenv['NGINX_SSL_PORT']
if 'UPDATE_CHANNEL' in dotenv:
UPDATE_CHANNEL=dotenv['UPDATE_CHANNEL']
else: