WebPagetest Forums
testing nginx - page not loading - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: testing nginx - page not loading (/showthread.php?tid=12507)



testing nginx - page not loading - Jesse Gersenson - 08-26-2013 05:13 PM

any idea why my site doesn't appear?

this is my first nginx server...
page doesn't display in http://www.webpagetest.org/result/130826_GE_6Y2/

Page shows up in some, but not all, other online tools. Ex, here is shows up
http://developers.google.com/speed/pagespeed/insights/

here is fails
http://www.gidnetwork.com/tools/gzip-test.php


RE: testing nginx - page not loading - pmeenan - 08-27-2013 12:12 AM

Looks like something is seriously screwed up on the server but it's impossible to tell from the outside. I'd recommend looking at your logs and firewall configs.

I ran 3 runs and it looks like one eventually worked (though it took > 70 seconds for the base page): http://www.webpagetest.org/result/130826_X0_99f8e9034f21905b256e4f1102d0e52d/

Looking at the tcpdump for one of the failed runs, the HTTP response for the base page is not HTTP: http://cloudshark.org/captures/e978361677f6?filter=tcp.stream%20eq%203 (frame #44 is the first bit of the response).


RE: testing nginx - page not loading - Jesse Gersenson - 08-27-2013 04:14 AM

(08-27-2013 12:12 AM)pmeenan Wrote:  Looks like something is seriously screwed up on the server but it's impossible to tell from the outside. I'd recommend looking at your logs and firewall configs.

Nice one, Patrick! Indeed nginx config was screwed up. Moving index.php to the end of this line, from someplace in the middle, fixed things

Code:
server {
    listen 80;
    listen [::]:80 default_server ipv6only=on;

    root /usr/share/nginx/html;
    index index.html index.htm index.php;



RE: testing nginx - page not loading - Jesse Gersenson - 08-28-2013 05:23 PM

Have moved the server to digitalocean.com and, on the first day or using it, was getting pop up messages saying they were under a ddos attack.

Anyway, here is the result
http://www.webpagetest.org/result/130828_3P_7CK/

The server is supposed to be in Holland but the results say Russia. ??

another strange lag after first request:
http://www.webpagetest.org/result/130828_VQ_933/1/details/

any idea what could cause the lag? the html is a simple static file.

other results:
with css removed
http://www.webpagetest.org/result/130828_C2_98A/1/details/

with css removed and a bunch of divs removed
http://www.webpagetest.org/result/130828_JM_9AE/

nginx + varnish