diff --git a/defaults/main.yml b/defaults/main.yml index fbb049b..7a31550 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/tasks/nginx.yml b/tasks/nginx.yml index f08f33c..6805794 100644 --- a/tasks/nginx.yml +++ b/tasks/nginx.yml @@ -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 diff --git a/templates/beacon_node_testnet.conf.j2 b/templates/beacon_node_testnet.conf.j2 index a2d7999..716ada6 100644 --- a/templates/beacon_node_testnet.conf.j2 +++ b/templates/beacon_node_testnet.conf.j2 @@ -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; + } }