Some Websites Misbehaving
Except for their domain names and content, I have a number of similarly configured websites running on my servers, and some aren't working through the CDN.
I'm not sure if it's causing or is caused by some of the database problems I've been having, or if that's a misleading coincidental problem.
The basic set up is that Cloudflare protects my web servers, with DNS pointing to their servers, their servers doing more intrusion detection (and a little caching), and essentially proxying to my servers. My servers are running nginx or Apache as egress servers, which then reverse proxy to other instances running as processes or containers on the servers somewhere on the network. Both nginx and Apache have easy configuration to direct the traffic based on the hostname in the request, or deliver a "whoops" page if it gets a request for something not hosted there. It's all worked great for years.
I haven't added or even updated the web sites in a while, but with the recent trend of database failures, some of the poking around has led to discovering dramatic drops in traffic, most having only the container health check and other handshaking traffic from the network.
I can hit the sites just fine when I use the IP of the server, but from the same machine it will fail when going through Cloudflare. There's nothing in the configuration I have that treats the domains differently in that regard, so if one works, they should all work. This blog is hosted as one of those domains, so if you can read this, Cloudflare is working and can reach my server (and my database and internal network are all behaving).
I am going to run through the very few sites that are using the hiccuping database and change them to use a different database server. I've got one running, behind this site, but instead of adding everything to one database, I think I'll add separate containers for each site and database pair. The main Docker machine has the RAM, the disk space used by multiple databases will be negligibly the same, and it's 8 quad-code CPUs are essentially idle all the time.
I feel a little bad that the sites are paused, but no one else seems to notice, so I guess it's a no-harm-no-foul kind of deal.