{"action":"opened","issue":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/250","labels_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/250/comments","events_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/250/events","html_url":"https://github.com/sameersbn/docker-gitlab/issues/250","id":56168258,"number":250,"title":"Gravatar SSL issues","user":{"login":"sammko","id":703905,"avatar_url":"https://avatars.githubusercontent.com/u/703905?v=3","gravatar_id":"","url":"https://api.github.com/users/sammko","html_url":"https://github.com/sammko","followers_url":"https://api.github.com/users/sammko/followers","following_url":"https://api.github.com/users/sammko/following{/other_user}","gists_url":"https://api.github.com/users/sammko/gists{/gist_id}","starred_url":"https://api.github.com/users/sammko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammko/subscriptions","organizations_url":"https://api.github.com/users/sammko/orgs","repos_url":"https://api.github.com/users/sammko/repos","events_url":"https://api.github.com/users/sammko/events{/privacy}","received_events_url":"https://api.github.com/users/sammko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-01T16:17:10Z","updated_at":"2015-02-01T16:17:10Z","closed_at":null,"body":"I started using SSL on my gitlab instance, and browsers are now complaining that some resources are being loaded using http. The said resources are the gravatar images. After a little googling, I found this issue https://github.com/gitlabhq/gitlabhq/issues/690. It says I should use the `X-Forwarded-Proto` header. Since my primary proxy accesses the docker nginx proxy using http, I would need to manually override it. I did\r\n`NGINX_X_FORWARDED_PROTO=https` and voilà:\r\n`docker exec gitlab grep X-Forwarded-Proto /etc/nginx/sites-enabled/gitlab`\r\ngave me\r\n`proxy_set_header    X-Forwarded-Proto   https;`\r\nAll looks good, however the browsers did not stop complaining. Gravatar is still being loaded over http.\r\nI tried restarting the container, but it did not help.\r\nThanks."}}