php-ug / php.ug

A home for all PHP-related Usergroups
https://php.ug
MIT License
94 stars 47 forks source link

Redirecting http to https #218

Closed petk closed 5 years ago

petk commented 6 years ago

Hello, might be a good addition to add redirection from http://php.ug to https://php.ug

Thank you for considering adding this one day as well.

heiglandreas commented 6 years ago

Thanks for reminding me of that!

I already thought about it. But due to the way the system is set up it's not that trivial as it needs a wildcard VirtualHost to be able to resolve [usergroup].php.ug to redirect to the groups homepage. For that I'd need a wildcard certificate which is not that easy to set up on the current hosting platform with letsEncrypt.

But I'll see what I can do as it makes absolutely sense!

TomasVotruba commented 6 years ago

I use Cloudflare for similar projects like these with 5-minutes https setup. It's not perfect as manual hosting installation, but it's good enought, safer than http and just works.

Here is simple tutorial in 3 steps: https://pehapkari.cz/blog/2017/03/13/how-to-add-https-to-github-pages-in-6-steps/#how-to-enable-https-in-3-steps

heiglandreas commented 5 years ago

Implemented. http://php.ug will redirect to https while f.e. http://ffm.php.ug will not. Well, it will redirect to the phpgffm-website but that's expected behaviour. And that there is no redirect to https is something completely different.

TomasVotruba commented 5 years ago

Is the redirect active yet? It still stays on http for me