Apply Wiz suggestions

Co-authored-by: wiz <j@wiz.biz>
This commit is contained in:
Bastien Guillaumat
2021-02-02 16:34:21 +01:00
committed by GitHub
parent c26737ffd6
commit 6efe055003
4 changed files with 39 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/sh
API_IP=$API_IP
__MEMPOOL_BACKEND_MAINNET_HTTP_HOST__=${BACKEND_MAINNET_HTTP_HOST}
sed -i "s/<API_IP>/${API_IP}/g" /etc/nginx/conf.d/nginx-mempool.conf
sed -i "s/__MEMPOOL_BACKEND_MAINNET_HTTP_HOST__/${__MEMPOOL_BACKEND_MAINNET_HTTP_HOST__}/g" /etc/nginx/conf.d/nginx-mempool.conf
exec "$@"