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

2019-03-04 Thread Thomas Hartmann
Hi Francis and and Reinis, many thanks for the ideas and hints! At least, I feel assured, that my idea seems to be not completely unreasonable ;) Crawling would be no necessity, assuming that the first client will make 'all' the requests to populate the cache. I will try my luck. Cheers and th

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

2019-03-04 Thread Reinis Rozitis
> "caching reverse proxy" is what nginx is built for. > > "rewriting the body content" is not. Well you can rewrite body with the sub module ( http://nginx.org/en/docs/http/ngx_http_sub_module.html ) The only caveat is that the module doesn't support compression (gzip) and you need to explic

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

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

2019-02-20 Thread Thomas Hartmann
Hi all, I would like to setup Nginx as a caching reverse proxy but with explicit requests in the URL and rewriting all subsequent requests Don;t know, if it really counts as reverse proxy and if it is understandable, so an example ;) For an original URL like https://org.url.baz/user/repo/foo

Re: How to setup Nginx as REALLY static-cache reverse proxy

2016-01-07 Thread austevo
Thanks for the responses guys. I've tried proxy_store on one config, but now I'm just receiving time-outs when I block the origin server. No stale cache on error at all. Here are two separate configs I'm using. The first one is as described earlier, with caching and stale cache errors working, al

Re: How to setup Nginx as REALLY static-cache reverse proxy

2016-01-06 Thread Reinis Rozitis
I'm having the same issue with cache being browser dependent. I've tried setting up a crawl job using wget --recursive with Firefox and Chrome headers, but that doesn't seem to trigger server-side caching either. I'd like cache to be browser agnostic. Any ideas? It is hard to identify problem

Re: How to setup Nginx as REALLY static-cache reverse proxy

2016-01-05 Thread Robert Paprocki
Can you show us your config, debug logs, or any info that would help troubleshoot the issue? See https://www.nginx.com/resources/wiki/start/topics/tutorials/debugging/ for help on setting up debug logging. On Tue, Jan 5, 2016 at 9:55 PM, austevo wrote: > I'm having the same issue with cache bein

Re: How to setup Nginx as REALLY static-cache reverse proxy

2016-01-05 Thread austevo
I'm having the same issue with cache being browser dependent. I've tried setting up a crawl job using wget --recursive with Firefox and Chrome headers, but that doesn't seem to trigger server-side caching either. If I browse the site using Firefox, then caching works for Firefox, and Firefox only.

Re: How to setup

2014-12-29 Thread itpp2012
Peter Fraser Wrote: --- > proxy. Is it possible to have an nginx host behind a firewall with one > network card that forwards requests to more than one IIS web server > behind > the firewall also Yes. > , or do I need to make the nginx host inli

How to setup

2014-12-29 Thread Peter Fraser
Hi All I am very new to Nginx and am very interested in setting it up as a reverse proxy. Is it possible to have an nginx host behind a firewall with one network card that forwards requests to more than one IIS web server behind the firewall also, or do I need to make the nginx host inline with two

RE: How to setup Nginx as REALLY static-cache reverse proxy

2014-12-10 Thread Jan Regeš
Nobody to help? :-( Regards, Jan Reges ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

How to setup Nginx as REALLY static-cache reverse proxy

2014-12-02 Thread Jan Regeš
Hi, i love Nginx, but i have some specific problem. Nginx cache depends also on some browser-specific factors. In one project, we need to work with Nginx as "Static webpage mirror" for occasional outages or scheduled downtimes of primary server. 99% visitors just browsing this website and only

How to setup nginx to follow 302

2013-10-07 Thread Anatoli Marinov
Hello colleagues, Last week I tried to configure nginx to follow 302 through upstream instead of relay it to the client. My config now is like the next one: http { proxy_cache_path /home/toli/nginx/run/cache keys_zone=zone_c1:256m inactive=5d max_size=30g; upstream up_cdn_cache_l2 {

PHP as FastCGI on Windows: Simple how-to setup PHP as a service

2013-02-20 Thread BrentNewland
The official guide on setting up PHP as FastCGI on Windows http://wiki.nginx.org/PHPFastCGIOnWindows makes use of batch files. After extensive research and some new information, I've managed to make a fairly simple guide on setting up PHP as a service on Windows, with full start/stop/restart/statu