lib/capistrano/templates/nginx_conf.erb in capistrano3-puma-5.0.2 vs lib/capistrano/templates/nginx_conf.erb in capistrano3-puma-5.0.3

- old
+ new

@@ -49,9 +49,10 @@ error_page 503 @503; location @puma_<%= fetch(:nginx_config_name) %> { proxy_http_version 1.1; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $host; proxy_redirect off; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; <% if fetch(:nginx_use_ssl) -%>