File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ function set_settings_from_branch {
15
15
DOMAIN=blockchain-api-staging.tonomy.foundation
16
16
;;
17
17
" testnet" )
18
- IP=164.90.176.113
18
+ IP=64.227.67.205
19
19
NODE_ENV=testnet
20
20
DOMAIN=blockchain-api-testnet.pangea.web4.world
21
21
;;
@@ -85,11 +85,10 @@ function local_copy_files_to_server {
85
85
# Setup SSL certificate. Need to copy the nginx.conf file and the cloudflare.ini file to the server first.
86
86
function server_setup_ssl {
87
87
sudo apt install -y certbot python3-certbot-dns-cloudflare
88
- certbot certonly --agree-tos -m developers@tonomy.foundation --dns-cloudflare --dns-cloudflare-credentials /tmp/.secrets/certbot/cloudflare.ini -d " ${DOMAIN} "
88
+ certbot certonly --agree-tos -m developers@tonomy.foundation --dns-cloudflare --dns-cloudflare-credentials /tmp/.secrets/certbot/cloudflare.ini -d " ${DOMAIN} " --non-interactive
89
89
rm /tmp/.secrets/certbot/cloudflare.ini
90
90
91
91
sudo apt install -y nginx
92
- cp ./testnet/nginx.conf /etc/nginx/conf.d/default.conf
93
92
sudo systemctl restart nginx
94
93
}
95
94
You can’t perform that action at this time.
0 commit comments