Re:Nginx has replaced Apache as the most used web server amo...
by coherentpony on Monday May 26, 2014 @11:58AM
(#7800265)
How can I tell, by visiting a site, what web server is being used?
[ Parent
| on HN ]
Re:Nginx has replaced Apache as the most used web server amo...
by filenox on Monday May 26, 2014 @12:13PM
(#7800338)
curl -I www.ycombinator.com
This gives you the HTTP Header, example output: HTTP/1.1 301 Moved Permanently Server: nginx Date: Mon, 26 May 2014 16:11:30 GMT Content-Type: text/html Content-Length: 178 Connection: keep-alive Location: http://ycombinator.com/
Re:Nginx has replaced Apache as the most used web server amo...
by coherentpony on Monday May 26, 2014 @12:15PM
(#7800348)
Oh wow, that's cool. I didn't know that. Thanks.
Re:Nginx has replaced Apache as the most used web server amo...
by astrodust on Monday May 26, 2014 @01:18PM
(#7800617)
For a laugh do it on http://www.reddit.com/
Re:Nginx has replaced Apache as the most used web server amo...
by coherentpony on Monday May 26, 2014 @02:38PM
(#7800943)
I get this:
$ curl -I www.reddit.com
HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
Server: '; DROP TABLE servertypes; --
Date: Mon, 26 May 2014 18:37:12 GMT
Connection: keep-alive
Vary: accept-encoding