templates/nginx.conf.erb in capistrano3-nginx-2.0.6 vs templates/nginx.conf.erb in capistrano3-nginx-2.0.7
- old
+ new
@@ -20,9 +20,10 @@
<% end %>
<% if fetch(:nginx_use_ssl) %>
server {
listen 80;
+ server_name <%= fetch(:nginx_domains) %>;
rewrite ^(.*) https://$host$1 permanent;
}
<% end %>
server {