From 58c9ccc48c358b82230b73ee1ba0ae825273d207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Mon, 8 May 2017 22:58:39 +0200 Subject: [PATCH] Fix the Let's Encrypt config for Parity The SSL port wasn't set in the variables --- .../templates/default/nginx_conf_parity_letsencrypt.erb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/site-cookbooks/kosmos-parity/templates/default/nginx_conf_parity_letsencrypt.erb b/site-cookbooks/kosmos-parity/templates/default/nginx_conf_parity_letsencrypt.erb index a4e8ad5..e01b3f6 100644 --- a/site-cookbooks/kosmos-parity/templates/default/nginx_conf_parity_letsencrypt.erb +++ b/site-cookbooks/kosmos-parity/templates/default/nginx_conf_parity_letsencrypt.erb @@ -1,9 +1,6 @@ # Generated by Chef server { listen 80; # For Let's Encrypt - <% if File.exist?(@ssl_cert) && File.exist?(@ssl_key) -%> - listen <%= @external_port %> ssl http2; - <% end -%> server_name <%= @server_name %>; @@ -13,9 +10,4 @@ server { location /.well-known { root "/var/www/<%= @server_name %>"; } - - <% if File.exist?(@ssl_cert) && File.exist?(@ssl_key) -%> - ssl_certificate <%= @ssl_cert %>; - ssl_certificate_key <%= @ssl_key %>; - <% end -%> }