chef/site-cookbooks/kosmos-parity/templates/default/nginx_conf_parity_letsencrypt.erb
Greg Karékinian 58c9ccc48c Fix the Let's Encrypt config for Parity
The SSL port wasn't set in the variables
2017-05-08 22:58:39 +02:00

14 lines
331 B
Plaintext

# Generated by Chef
server {
listen 80; # For Let's Encrypt
server_name <%= @server_name %>;
access_log <%= node[:nginx][:log_dir] %>/<%= @server_name %>.access.log json;
error_log <%= node[:nginx][:log_dir] %>/<%= @server_name %>.error.log warn;
location /.well-known {
root "/var/www/<%= @server_name %>";
}
}