Configure/deploy hal8000_xmpp, refactor recipes #63

Merged
greg merged 12 commits from feature/62-hal8000_xmpp into master 2019-05-10 08:04:07 +00:00
Showing only changes of commit 4a480931a5 - Show all commits

View File

@@ -8,10 +8,10 @@ upstream _express_<%= @server_name.gsub(".", "_") %> {
<% if File.exist?(@ssl_cert) && File.exist?(@ssl_key) -%>
server {
listen 443 ssl http2;
add_header Strict-Transport-Security "max-age=15768000";
server_name <%= @server_name %>;
add_header Strict-Transport-Security "max-age=15768000";
access_log <%= node[:nginx][:log_dir] %>/<%= @server_name %>.access.log json;
error_log <%= node[:nginx][:log_dir] %>/<%= @server_name %>.error.log warn;