lib/ms_deploy/templates/vhost.erb in ms_deploy-0.3.0 vs lib/ms_deploy/templates/vhost.erb in ms_deploy-0.3.1
- old
+ new
@@ -14,9 +14,12 @@
# server 192.168.0.8:8080 fail_timeout=0;
# server 192.168.0.9:8080 fail_timeout=0;
}
<% end %>
+<%= optional_nginx_http_content if protocol == 'http' %>
+<%= optional_nginx_https_content if protocol == 'https' %>
+
server {
server_name <%= domain %>;
<% if protocol == 'https' %>