Browse Source
Do not set BTCPAY_SSHTRUSTEDFINGERPRINTS in the setup, since we connect from inside the docker container to the host, this is fine
tor-relay
nicolas.dorier
5 years ago
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE
1 changed files with
0 additions and
7 deletions
-
btcpay-setup.sh
|
|
@ -242,13 +242,6 @@ if $BTCPAY_ENABLE_SSH && [[ "$BTCPAY_HOST_SSHAUTHORIZEDKEYS" ]]; then |
|
|
|
use_ssh=true |
|
|
|
fi |
|
|
|
|
|
|
|
if $use_ssh; then |
|
|
|
for pubkey in /etc/ssh/ssh_host_*.pub; do |
|
|
|
fingerprint="$(ssh-keygen -l -f $pubkey | awk '{print $2}')" |
|
|
|
BTCPAY_SSHTRUSTEDFINGERPRINTS="$fingerprint;$BTCPAY_SSHTRUSTEDFINGERPRINTS" |
|
|
|
done |
|
|
|
fi |
|
|
|
|
|
|
|
if [[ "$BTCPAYGEN_REVERSEPROXY" == "nginx" ]] && [[ "$BTCPAY_HOST" ]]; then |
|
|
|
DOMAIN_NAME="$(echo "$BTCPAY_HOST" | grep -E '^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$')" |
|
|
|
if [[ ! "$DOMAIN_NAME" ]]; then |
|
|
|