I’m using uptimerobot.com to measure the uptime of my server. Unfortunately it goes down a lot! Almost twice a day for maybe just one to two minutes. I can’t find anything in my logs and am completely lost what is going wrong. I’ve looked at all log files and can’t find anything out of the ordinary (apart from the 301 responses from uptimerobot.com). I have no clue what to look for now.
I’m using Varnish on port 80, Nginx on port 443 and Apache on port 8080. Both ports 80 and 443 are open. When I go to my site (quentinbuiteman.com) on all possible URL’s, I just get there, so the configuration seems to be working correctly.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
@QuentinBuiteman
My initial thought would be that NGINX isn’t passing on the headers that you’re targeting when it proxies a request. In addition to
proxy_pass
, I normally run the following configuration:The above is pulled from my own configuration that I’ve used for some time in various setups (which includes WordPress behind a proxy).
I’d recommend testing that out and seeing if that helps. You’d want to restart NGINX once the changes are in place. From there, I’d be happy to check on my end to see if that resolves the issue I’m seeing on my end.
If it doesn’t work, I’d check the logs to see if there’s anything more than we can pinpoint.
@QuentinBuiteman
From what I can see on my end, things are looking good :-) – looks like it’s loading in less than a second on my end.
@QuentinBuiteman
When I visit your website, I’m seeing an error:
… which would be a configuration issue that would, in most cases, be detected as downtime since it prevents your site from being displayed as expected.
…
1). Are you using Varnish + Apache, or Varnish + NGINX + Apache?
2). What kind of site is this (i.e. WordPress, static, NodeJS, etc)?
3). Are you using anything else in front (i.e. CloudFlare)?