one vhost takes over entire server
Almir Karic
redduck666 at gmail.com
Tue Oct 30 21:11:39 MSK 2007
anyone?
On 10/29/07, Almir Karic <redduck666 at gmail.com> wrote:
> actually, it still doesn't work, same problems.
>
> this is what my two proxy codes look like:
>
>
> location / {
> proxy_pass http://127.0.0.1:81;
> proxy_max_temp_file_size 10M;
> proxy_set_header Host $host;
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For
> $proxy_add_x_forwarded_for;
> }
>
>
> On 10/29/07, Almir Karic <redduck666 at gmail.com> wrote:
> > On 10/29/07, Igor Sysoev <is at rambler-co.ru> wrote:
> > > You need to add
> > >
> > > location / {
> > > proxy_pass http://127.0.0.1:81;
> > > + proxy_set_host Host $host;
> > > }
> >
> > thanks
> >
> >
> > (and it is ''proxy_set_header Host $host;'', just in
> > case someone will be looking at this thread facing same troubles)
> >
> > --
> > almir
> >
>
>
> --
> almir
>
--
almir
More information about the nginx
mailing list