Cloak a hostname

2014-03-11 Thread justink101
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 I.E. simply replace the host. Assume I have: server { listen 443; server_name foo.b

Building cache with cURL request

2014-03-11 Thread mrdziuban
I'm trying to build the cache for a certain URL by making a simple cURL request, but it's not working. Do I need to specify any headers or change any configurations to get this to work? Thanks in advance. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248284,248284#msg-248284 _

Re: proxy_store help requested

2014-03-11 Thread nginx_newbie_too
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 on the upstream server? I think that's more correct behavior, but I'm not sure.

Re: Some Issues with Configuration

2014-03-11 Thread Francis Daly
On Mon, Mar 10, 2014 at 09:53:53PM +, Richard Ibbotson wrote: Hi there, > Thanks for some helpful answers so far. I'm sure I'm neary there. > Just need a bit more help. I'm getting error 404 when I try to load a > Wordpress page. You can make it easier for people to help you if you don'