Re: NGINX stale-while-revalidate cluster

2017-07-07 Thread Frank Dias
Have you thought about using a shared file system for the cache. This way all the nginx 's are looking at the same cached content. On Jul 7, 2017 5:30 AM, Joan Tomàs i Buliart wrote: Hi Lucas On 07/07/17 12:12, Lucas Rolff wrote: > Instead of doing round robin load balancing why not do a URI ba

apache rewrite to nginx

2017-06-12 Thread Frank Dias
I need some help, migrating from Apache to Nginx. The following logic is in Apache, how do I convert to Nginx DocumentRoot "/var/www/default" ServerName *.diasranch.net SSLProxyEngine On ProxyPreserveHost On RewriteEngine on RewriteMap host_finder prg:/usr/local/bin/host_finder.php # Rule to hand