New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https support? #22
Comments
Yes, sorry. In a minute.... |
Ok, it is HTTPS now. Thanks for the suggestion. |
Actually, I had to revert this, because the HTTP -> HTTPS redirect killed all badges. |
Why not offering both http and https? (Maybe I am missing the obvious) |
I don't know how to support that form dokku. dokku supports an HTTP -> HTTPS redirect, but that killed all current badges. |
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. |
It is not so easy, because GH has its own cache, and nobody knows what it does exactly. See e.g. badges/shields#111 |
OK, I am not sure what the problem was last time, but with the new dokku version, I gave it another try today, and everything seems to work fine. All I needed was adding the certificates. |
Thanks to fix in r-hub/cranlogs.app#22
Hi,
Given the LetsEncrypt initiative, by which it is easy to obtain a valid and free SSL certificate accepted in most major browsers, would it be possible to have https://cranlogs.r-pkg.org/ ?
For https websites having access to https badges would be great.
Thank you for your work and sorry to disturb you.
The text was updated successfully, but these errors were encountered: