Re: how to setup as caching reverse proxy for/rewritign global URLs

2019-03-03 Thread Francis Daly
On Wed, Feb 20, 2019 at 12:37:23PM +0100, Thomas Hartmann wrote: Hi there, > I would like to setup Nginx as a caching reverse proxy but with explicit > requests in the URL and rewriting all subsequent requests "caching reverse proxy" is what nginx is built for. "rewriting the body content" is n

Whitelist allow for specific requests Nginx

2019-03-03 Thread amirs
I have a server and there is a Nginx in front. There are many requests which some of them contains special word example: /posts/men/clouths I have a whitelist ip file also. I want to write a rule in Nginx that if requests contains "men", only allow the request if requester's ip is in whitelist fi

Re: Nginx Proxy Buffer

2019-03-03 Thread Francis Daly
On Sat, Feb 23, 2019 at 04:15:53AM -0500, HasanAtizaz wrote: Hi there, > I am having some difficultly in understanding the following parameters for > nginx, > Scenario (nginx is used for serving static content ) If "static content" is "files from a file system", then proxy_* variables are not us

Re: Advanced Rewrite request url to match the query string and normalization

2019-03-03 Thread Francis Daly
On Tue, Feb 26, 2019 at 11:07:34PM -0500, shadowgun1102 wrote: Hi there, > I have a simple nginx forward proxy, configured as: nginx is not a forward proxy, and therefore there will be "rough edges" when you try to use it as such. That's fine, so long as you know. > The client behind its isp fi