Hello,
Could anyone help with what is going wrong on my site? It's started happening infrequently and then starts to work again but it's now happening every hour.
Not sure if it's something not set up quite right with www and non www. It should only be using the non WWW
Looking at the www I get a 301 moved when trying to access the WWW, but the location still says the WWW. Should it not have the WWW?
HTTP/1.1 301 Moved Permanently
Date: Sat, 25 Apr 2020 10:47:21 GMT
Connection: keep-alive
Cache-Control: max-age=3600
Expires: Sat, 25 Apr 2020 11:47:21 GMT
Location: https://www.domain.com/
Server: cloudflare
CF-RAY: 58977c489e8de60c-LHR
cf-request-id: 02528c015f0000e60c7abb7200000001
Could anyone help with what is going wrong on my site? It's started happening infrequently and then starts to work again but it's now happening every hour.
Not sure if it's something not set up quite right with www and non www. It should only be using the non WWW
Code:
2020/04/25 10:35:20 [error] 1064#1064: *89189 open() "/usr/share/nginx/html/50x.html" failed (2: No such file or directory), client: 162.158.158.227, server: www.domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock", host: "domain.com", referrer: "https://domain.com/forums/stuff/"
2020/04/25 10:35:21 [error] 1064#1064: *89191 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 162.158.158.227, server: www.domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock", host: "domain.com", referrer: "https://domain.com/forums/stuff/"
Looking at the www I get a 301 moved when trying to access the WWW, but the location still says the WWW. Should it not have the WWW?
HTTP/1.1 301 Moved Permanently
Date: Sat, 25 Apr 2020 10:47:21 GMT
Connection: keep-alive
Cache-Control: max-age=3600
Expires: Sat, 25 Apr 2020 11:47:21 GMT
Location: https://www.domain.com/
Server: cloudflare
CF-RAY: 58977c489e8de60c-LHR
cf-request-id: 02528c015f0000e60c7abb7200000001