nginx as proxy server

Kaushal Shriyan kaushalshriyan at gmail.com
Tue May 20 16:12:45 MSD 2008


On Tue, May 20, 2008 at 5:24 PM, Denis F. Latypoff <denis at gostats.ru> wrote:

> Hello Kaushal,
>
> Tuesday, May 20, 2008, 6:10:56 PM, you wrote:
>
> > Hi
>
> > Is there a documentation on setting up nginx as proxy server
>
> http://wiki.codemongers.com/NginxConfiguration
>
> > Thanks and Regards
>
> > Kaushal
>
>
>
>
> --
> Best regards,
>  Denis                            mailto:denis at gostats.ru
>
>
>

Hi Denis

Thanks for the quick reply

I have this in the "nginx.conf" file and have restarted ngnix. Basically I
want to set it as a simple proxy server

        location / {
            root   /var/www/example/htdocs;
            index  index.html index.htm;
            proxy_pass http://localhost:8000;
        }

Am i missing some thing

Thanks and Regards

Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080520/647342b4/attachment.html>


More information about the nginx mailing list