diff --git a/chef/cookbooks/diaspora/templates/default/nginx.conf.erb b/chef/cookbooks/diaspora/templates/default/nginx.conf.erb index 9dc695e0d..c15a595e7 100644 --- a/chef/cookbooks/diaspora/templates/default/nginx.conf.erb +++ b/chef/cookbooks/diaspora/templates/default/nginx.conf.erb @@ -80,6 +80,7 @@ http { location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto https; proxy_set_header Host $http_host; proxy_redirect off;