nginx module dev: loadbalancer vs upstream handler options

2014-03-12 Thread Jayadev C
First time here, was looking at supporting http protocol (using nginx) over our custom zeromq server talking protocol buf. Read the excelled tutorial by Evan and was also looking at few similar plugins to get an idea. One confusion I have is, I see some plugins like memcache/redis ones where t

Re: Cloak a hostname

2014-03-12 Thread Reinis Rozitis
Is it possible assuming I have a domain and uri: http://foo.bar/candy To have the browser location still show http://foo.bar/candy but actually fetch the content from: http://newdomain.com/candy If your server runs on foo.bar then: server { location / { proxy_pass http:/

Re: proxy_store help requested

2014-03-12 Thread Maxim Dounin
Hello! On Tue, Mar 11, 2014 at 12:46:18PM -0400, nginx_newbie_too wrote: > Maxim, one last piece of advice requested. Would it be more proper to turn > off i-m-s in the request body (by setting proxy_pass_request_headers to off > in the downstream server configuration) instead of turning it off o