Hello I have a big and simple question here; I would like to use nginx as reverse proxy for eleven websites and caching all content to avoid CPU load on origin... But I have a question, this parameter keys_zone should be always unique? I'm using this way: proxy_cache_path /var/www/cache levels=1:2 keys_zone=cache-defaults:8m max_size=1000m inactive=600m; And ALL websites I'm sby e0xbr - Nginx Mailing List - English
Hello How can I add a header on nginx to show how long the file was cached? Like Varnish : Age: 91927 Time value is in seconds How can I do that? I could put HIT / MISS using: add_header X-Cached $upstream_cache_status; But how can I put how long the object was cached ??? ( eg: $upstream_cache_age ?? ) It is good for debug!by e0xbr - How to...
I have the same problem here... Do you figure out why? Thanks Em terça-feira, 29 de maio de 2012 17h03min00s UTC-3, Vid Luther escreveu: > > On Tue, May 29, 2012 at 12:17 PM, Jérôme Loyet <ml@fatbsd.com> wrote: > >> >> >> I've just tried to create a simple chroot pool and the date function >> is working like a charm' on my developement linux box (ubuntuby e0xbr - Php-fpm Mailing List - English
Hello I would like to have a PHP-FPM shared hosting. What is the right permission to give to everybody? I was wondering to set every /home/user.site.com to 641 permission. 644 will give rights to World read the content from each other..... On FPM's pool I will set the user to run the proccess. Thanksby e0xbr - Php-fpm Mailing List - English
Hello I could solve the problem, but it was in a not correct way... I created a folder at /home/account1/usr/share/zoneinfo/America/Sao_Paulo and copied the file there... Now it worked but it is not correct... How can I fix it?by e0xbr - Php-fpm Mailing List - English
Hello It is weird... I got this message now Fatal error: date(): Timezone database is corrupt - this should *never* happen! Is there something I need to do to avoid it? I set on /etc/php.ini date.timezone ...I'm searching for this error...by e0xbr - Php-fpm Mailing List - English
Hello Guys.. I'm new around here. All my life I used cPanel with reverse nginx proxy, but now I want to build a server with nginx and php-fpm. Everything is configured. Nginx, mysql, pureftp.... I created two test account /home/account1 /home/account2 I can access these accounts using http://account1.myserver.local http://account2.myserver.local Like a shared server....allby e0xbr - Php-fpm Mailing List - English
Hello, I have a problem, I need to list all files that is cached on Nginx. Like, a list of files, or a list of Origin's URLs that is cached (like the raw url) The folder /proxy/ shows a different structure and I cannot have this list. Is this possible? Thanksby e0xbr - Nginx Mailing List - English