Use the prepared domain name

This commit is contained in:
Zahary Karadjov 2019-03-19 17:32:43 +02:00
parent f0f650eebc
commit 38756cc9aa
3 changed files with 11 additions and 7 deletions

View File

@ -1,15 +1,16 @@
---
nimbus_verbose: false
nimbus_testnet_root: '/var/www/nimbus_testnet'
nimbus_testnet_domain: 'node-01.do-ams3.nimbus.misc.statusim.net'
nimbus_testnet_root: '/var/www/serenity-testnets'
nimbus_testnet_domain: 'serenity-testnets.status.im'
nimbus_testnet_ssl_crt_path: '/certs/origin.crt'
nimbus_testnet_ssl_key_path: '/certs/origin.key'
# https://github.com/status-im/nimbus/docker
beacon_node_cont_image: 'statusteam/nimbus_beacon_node:ubuntu'
beacon_node_cont_name: 'nimbus_beacon_node'
beacon_node_cont_vol: '/docker/{{ beacon_node_cont_name }}'
beacon_node_cont_disovery_port: 40404
beacon_node_cont_listening_port: 40404
beacon_node_cont_disovery_port: 9630
beacon_node_cont_listening_port: 9630

View File

@ -29,7 +29,7 @@
dest: '/opt/nim-eth-testnet-data'
register: repo
- name: Copy livepeer player files
- name: Copy the public tesnet files
shell: 'cp -r /opt/nim-eth-testnet-data/www/* {{ nimbus_testnet_root }}'
when: repo.changed

View File

@ -8,11 +8,14 @@ server {
server {
listen 443 ssl;
server_name {{ nimbus_testnet_domain }};
ssl_certificate {{ nimbus_testnet_ssl_crt_path }};
ssl_certificate_key {{ nimbus_testnet_ssl_key_path }};
root {{ nimbus_testnet_root }};
location / {
root {{ nimbus_testnet_root }};
autoindex on;
}
}