kopia lustrzana https://github.com/kartoza/docker-postgis
fix pg_hba_config based on new changes
rodzic
dc5b70f877
commit
2b27aa0a91
|
@ -25,12 +25,12 @@ else
|
||||||
if [[ "${SSL_KEY_FILE}" != '/etc/ssl/private/ssl-cert-snakeoil.key' ]]; then
|
if [[ "${SSL_KEY_FILE}" != '/etc/ssl/private/ssl-cert-snakeoil.key' ]]; then
|
||||||
PG_CONF_HOST='hostssl'
|
PG_CONF_HOST='hostssl'
|
||||||
CERT_AUTH='cert'
|
CERT_AUTH='cert'
|
||||||
CLIENT_VERIFY=
|
CLIENT_VERIFY='clientcert=verify-full'
|
||||||
else
|
else
|
||||||
# Used when using the default ssl certs
|
# Used when using the default ssl certs
|
||||||
PG_CONF_HOST='hostssl'
|
PG_CONF_HOST='hostssl'
|
||||||
CERT_AUTH=${PASSWORD_AUTHENTICATION}
|
CERT_AUTH=${PASSWORD_AUTHENTICATION}
|
||||||
CLIENT_VERIFY='clientcert=0'
|
CLIENT_VERIFY=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
Ładowanie…
Reference in New Issue