mirror of
https://github.com/runcitadel/core.git
synced 2024-12-27 23:25:41 +00:00
Fix bug with SSL port
This commit is contained in:
parent
f64f1aab0f
commit
9c746781b2
2
scripts/configure
vendored
2
scripts/configure
vendored
|
@ -172,6 +172,8 @@ if reconfiguring:
|
|||
NGINX_SSL_PORT="443"
|
||||
if 'NGINX_SSL_PORT' in dotenv:
|
||||
NGINX_SSL_PORT=dotenv['NGINX_SSL_PORT']
|
||||
if NGINX_SSL_PORT == "80" and NGINX_PORT == "80":
|
||||
NGINX_SSL_PORT="443"
|
||||
if 'UPDATE_CHANNEL' in dotenv:
|
||||
UPDATE_CHANNEL=dotenv['UPDATE_CHANNEL']
|
||||
else:
|
||||
|
|
|
@ -44,7 +44,7 @@ fi
|
|||
|
||||
# Configure Citadel if it isn't already configured
|
||||
if [[ ! -f "${CITADEL_ROOT}/statuses/configured" ]]; then
|
||||
NGINX_PORT=${NGINX_PORT:-80} NGINX_SSL_PORT=${NGINX_SSL_PORT:-80} NETWORK="${NETWORK:-mainnet}" "${CITADEL_ROOT}/scripts/configure"
|
||||
NGINX_PORT=${NGINX_PORT:-80} NGINX_SSL_PORT=${NGINX_SSL_PORT:-443} NETWORK="${NETWORK:-mainnet}" "${CITADEL_ROOT}/scripts/configure"
|
||||
fi
|
||||
|
||||
echo
|
||||
|
|
Loading…
Reference in New Issue
Block a user