I'm always so happy that I can learn from friends. For today, I've set up a web hosting panel (CloudPanel) on my server. This server has a bit of an unusual setup, which makes it sometimes harder to get things working.
https://cytag.nl/@kevin@chyros.net has helped me with a "Too many redirects" issue when I set up this Mastodon instance, and his advice helped me today to solve the same bug.
So, if you are running an NGINX server and you have this "Too many redirects" issue, go have a look at my post at 3XN.nl. This particular case is about the correct configuration in case you have a proxy that controls all your SSL certificates instead of the server itself.
https://3xn.nl/projects/2023/08/24/cloudpanel-website-causing-too-many-redirects/
The article is subject to change, some code could be uncommented to still work, but this is a quick hack.
Thanks, Kevin!
#opencloud #ssl #vhost #nginx #hack #redirects #certificates
#opencloud #ssl #vhost #nginx #hack #redirects #certificates
it was working for an hour earlier..
who here is clever with writing vhost entries ?
022/03/02 23:21:38 Starting WriteFreely 0.13.1...
2022/03/02 23:21:38 Loading config.ini configuration...
2022/03/02 23:21:38 Loading encryption keys...
2022/03/02 23:21:38 Going to serve...
2022/03/02 23:21:38 Serving on http://208.x.x.x:80
2022/03/02 23:21:38 ---
ERROR: 2022/03/02 23:21:38 app.go:511: Unable to start: listen tcp 208.x.1x.x:80: bind: address already in use
#help #vhost #apache2
Wonder if this would be useful to anybody else: https://github.com/arkhi/vagrant-virtualhosts