News for hackers. Stuff that matters.
Re:Wikipedia starts work on $2.5M internet search engine pro... by xojoc on Sunday February 14, 2016 @07:59PM (#11100877)
This is so strange. If I fetch the page from http://archive.is I get the same default Nginx page

http://archive.is/AxHFV

the only thing I can think off right now is that the http "Host" header field is not sent. I have several sites on the same server and Nginx is used as a reverse proxy and uses the Host field to redirect traffic to different ports.

Re:Wikipedia starts work on $2.5M internet search engine pro... by level3 on Sunday February 14, 2016 @08:22PM (#11100962)
You should really consider using multiple server blocks instead of relying on the Host field.
Re:Wikipedia starts work on $2.5M internet search engine pro... by xojoc on Sunday February 14, 2016 @08:32PM (#11100991)
I do. Nginx does the matching using the Host field http://nginx.org/en/docs/http/ngx_http_core_module.html#serv...
Re:Wikipedia starts work on $2.5M internet search engine pro... by level3 on Sunday February 14, 2016 @08:42PM (#11101021)
Hmm, I could've sworn that server_name doesn't rely on the Host header. My mistake.