News for hackers. Stuff that matters.
Re:Wikipedia starts work on $2.5M internet search engine pro... by seven-dev on Sunday February 14, 2016 @07:32PM (#11100770)
(Default nginx page showing up on your website)
Re:Wikipedia starts work on $2.5M internet search engine pro... by xojoc on Sunday February 14, 2016 @07:36PM (#11100791)
It works for me. Care to show me a screenshot?
Re:Wikipedia starts work on $2.5M internet search engine pro... by bratch on Monday February 15, 2016 @04:50AM (#11102452)
The host (assuming the same host) is responding with a different website when accessed via IPv4 vs IPv6.

  $ curl -4s http://kairos.xyz/ | grep title
      <title>Kairos</title>

  $ curl -6s http://kairos.xyz/ | grep title
  <title>Welcome to nginx on Debian!</title>

  $ host kairos.xyz
  kairos.xyz has address 107.161.29.121
  kairos.xyz has IPv6 address 2604:180:0:a54::24d9
Re:Wikipedia starts work on $2.5M internet search engine pro... by xojoc on Monday February 15, 2016 @08:56AM (#11103375)
Thanks, I found the problem. I thought that with Nginx, Ipv6 would just work but I had to add

    listen 80;
    listen [::]:80;
to my server block.
Re:Wikipedia starts work on $2.5M internet search engine pro... by seven-dev on Sunday February 14, 2016 @07:40PM (#11100805)
"Welcome to nginx on Debian!

If you see this page, the nginx web server is successfully installed and working on Debian. Further configuration is required.

For online documentation and support please refer to nginx.org

Please use the reportbug tool to report bugs in the nginx package with Debian. However, check existing bug reports before reporting a new bug.

Thank you for using debian and nginx."

I meant here: http://kairos.xyz/

Re:Wikipedia starts work on $2.5M internet search engine pro... by seven-dev on Sunday February 14, 2016 @07:45PM (#11100822)
When I make a request from another IP, it gives me the right page.

" (...) Try...

Who is Richard Stallman? define bravado 10 USD to EUR RFC 2460 generate username help - about"

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.
Re:Wikipedia starts work on $2.5M internet search engine pro... by cstejerean on Sunday February 14, 2016 @07:50PM (#11100843)
I also get the Nginx default page when I click on your link from my iPhone. I'd take a screenshot but not sure how to link that from here.