Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
For https websites having access to https badges would be great.
Thank you for your work and sorry to disturb you.
I don't know much about dokku, although here it says how to redirect (301) all http to https.
Using 301 redirects with images should not be a problem according to this stackoverflow answer.
Sorry to cause you this trouble... having a site working both with http and https is a relatively normal situation, I did not expect it would be difficult to set it up.
I have a similar setup in my nginx configuration:
Feel free to leave this issue if you can't find a proper way to fix this. I wish I could provide more detailed information
It is easy to redirect, it is even easier than that. As soon as you add the credentials, dokku redirects automatically.
I actually did it already, and it broke all badges on GitHub. So I need to figure out a way not to redirect, but serve both HTTP and HTTPS. Which seems to be harder with dokku.
shields.io does not have a problem redirecting http to https:
In this log we see that shields.io does use image redirection (see the
And here I can see both images (hopefully you can too):
My conclusion is that if the redirection is done properly then the badges should not break. From my point of view the most likely cause of the errors are:
I may be wrong, but without further reasons on why the badges were broken it is difficult to guess what is going on.