templates/nginx.conf.erb in capistrano3-nginx-2.1.5 vs templates/nginx.conf.erb in capistrano3-nginx-2.1.6

- old
+ new

@@ -68,9 +68,10 @@ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-FORWARDED_PROTO http; proxy_set_header Host $http_host; <% if fetch(:nginx_use_ssl) %> proxy_set_header X-Forwarded-Proto https; + proxy_set_header X-Forwarded-Ssl on; <% end %> <% if fetch(:nginx_read_timeout) %> proxy_read_timeout <%= fetch(:nginx_read_timeout) %>; <% end %> proxy_redirect off;