Closed Mikaela closed 10 years ago
It seems like Limnoria isn't sending the right HTTP host header to the web server; this is what allows you to have multiple websites on one server.
edit: never mind, see below
I get nginx's webpage from my web browser too.
progval@Hydrogen:~$ curl -4 paste.mikaela.info | grep title
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4721 0 4721 0 0 134k 0 --:--:-- --:--:-- --:--:-- 135k
<title>ZeroBin</title>
<h1 title="ZeroBin" onclick="window.location.href=scriptLocation();return false;">ZeroBin</h1><br>
progval@Hydrogen:~$ curl -6 paste.mikaela.info | grep title
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 612 100 612 0 0 18215 0 --:--:-- --:--:-- --:--:-- 18545
<title>Welcome to nginx!</title>
For future reference the issue was in nginx config, http://serverfault.com/q/277653 .
vhosts should also have the lines
listen 80;
listen [::]:80;
and the default lines which are
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
aren't enough for vhosts.
Correct titles:
The three first are CNAMEs to the last which really has
Welcome to nginx!
.