Set up public HTTPS endpoint for RSKj #337

Merged
raucao merged 10 commits from feature/rskj_public_endpoint into master 2021-12-02 17:26:01 +00:00
2 changed files with 5 additions and 4 deletions
Showing only changes of commit 0628d091dc - Show all commits

View File

@ -32,6 +32,7 @@
"postfix::_attributes",
"postfix::sasl_auth",
"hostname::default",
"kosmos_rsk::firewall",
"firewall::default",
"chef-sugar::default"
],
@ -52,6 +53,6 @@
},
"run_list": [
"recipe[kosmos-base]",
"role[rsk_testnet]"
"role[rskj_testnet]"
]
}
}

View File

@ -8,6 +8,8 @@ include_recipe "kosmos-nginx"
app_name = "rskj"
domain = node[app_name]["nginx"]["domain"]
nginx_certbot_site domain
template "#{node['nginx']['dir']}/sites-available/#{domain}" do
source "nginx_conf_#{app_name}.erb"
owner 'www-data'
@ -23,5 +25,3 @@ end
nginx_site domain do
action :enable
end
nginx_certbot_site domain