My web server quit responding yesterday. It took me about 17 hours to fix it and only because I found it that way today. Despite what some people may think, I don’t spend all of my time in front of a computer.
I’m using Nginx as my web server. Once I set up a configuration file, I never have to change it. The changes I have to make are always in “included” files, which have nothing to do with virtual host settings. I was shocked when I found out what the issue was, to put it mildly.
I’ve been thinking about giving this up for months. Even so, I wasn’t ready to quit until the web server quit on me. The only reason I kept trying to figure out what was wrong was because I want to quit when I’m ready to quit and not before.
I found out the web server wasn’t responding this morning, shortly after getting out of bed. After fiddling with it for more than two hours, I was ready to drop everything and call it a day.
A last-ditch effort saved the day, so to speak.
This issue makes no sense to me. I was missing the “default_server” flag for port 443. Here’s the rub: It was always missing. If it’s required, I should have had this issue when I was setting it up.
When I added the flag, everything suddenly worked like before. Again, it makes no sense to me. Someday, I’ll figure it out but it won’t be today.
When I thought about dropping everything, I got depressed. And it happened quickly. So quickly that I felt ill even after I fixed the configuration file.
I’m not ready to quit. Not yet anyway. This little ordeal showed me I still have a few miles (or kilometers) to go before I can get off this highway.
Previous and Next Articles (if any):