Skip to content

Commit

Permalink
🐛 daicard proxy bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bohendo committed Apr 20, 2020
1 parent 1a51334 commit 1f1f537
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions ops/deploy-daicard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ if [[ "$?" != "0" ]]
then echo "Make sure you're logged into docker & have push permissions: docker login" && exit
fi

exit

echo;echo "Copying start script to $daicard"
scp -i $ssh_key ops/start-daicard.sh $user@$daicard:/home/$user/start-daicard.sh

Expand Down
6 changes: 3 additions & 3 deletions ops/proxy/daicard/haproxy.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
global
chroot /root
daemon
log stdout local0
maxconn 2048
ssl-default-bind-ciphers kEECDH+aRSA+AES:kRSA+AES:+AES256:RC4-SHA:!kEDH:!LOW:!EXP:!MD5:!aNULL:!eNULL
Expand Down Expand Up @@ -53,8 +52,9 @@ backend nats_tcp
server nats "$INDRA_HOST:4222"

backend indra
http-request replace-path /api/ethprovider /
server webserver "$INDRA_HOST:443"
http-request del-header Host
http-request add-header Host "$INDRA_HOST"
server indra "$INDRA_HOST:443" ssl ca-file ca-certs.pem

backend letsencrypt_backend
server letsencrypt "127.0.0.1:$CERTBOT_PORT"

0 comments on commit 1f1f537

Please sign in to comment.