nginx reports [upstream sent no valid HTTP/1.0 header] when used with varnish
Joydeep Bakshi
joydeep.bakshi at netzrezepte.de
Tue Apr 22 13:08:33 UTC 2014
Dear all,
Problem Solved.
Here is the steps required to fix it on opensuse 13.1
varnish listen to port 80 as default in opensuse and there is no port 6081
. Hence /etc/sysconfig/varnish has to be edited to add "-a :6081" like
below
VARNISHD_PARAMS="-f /etc/varnish/vcl.conf -a:6081 -T:6082 -s
file,/var/cache/varnish,1M -u varnish"
After restarting ; varnish provides 6081 port to be used with proxy_pass
Thanks for the responses
On Tue, Apr 22, 2014 at 3:51 PM, Lukas Tribus <luky-37 at hotmail.com> wrote:
> > @Lukas - attached is the cap file
>
> The request is bogus, imho. A GET request should not contain a body, it
> doesn't
> makes sense.
>
>
>
> > @Maxim - after starting varnish only the following port comes up
> >
> > # netstat -nat | grep 60
> > tcp 0 0 0.0.0.0:6082<http://0.0.0.0:6082>
> > 0.0.0.0:* LISTEN
> > tcp 0 0 :::6082 :::* LISTEN
>
> You are administrating and configuring this server, find out why and fix
> it.
>
>
>
> Lukas
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140422/a50e0c9d/attachment.html>
More information about the nginx
mailing list