Maxim Dounin Wrote: ------------------------------------------------------- > Multiple cache files for the same key can be created if a backend > response uses the Vary mechanism to allow multiple resource > variants. It is supported and taken into account when caching > since nginx 1.7.7, http://nginx.org/en/CHANGES: THANKS THANKS so much! My solution taken: - using moby semseoymas - Nginx Mailing List - English
Ok...... It seems to be the vary header..... https://www.maxcdn.com/blog/accept-encoding-its-vary-important/ :( Caché is running ok, I think, although 120 files for the same KEY.by semseoymas - How to...
Hello: I am sorry I think you do not understood. 120 KEY: httpxxxxx.comGET/wp-content/themes/sahifa/timthumb.php?src=/wp-content/uploads/2015/11/Alondra.jpg&h=50&w=50&a=c In other words, "KEY: httpxxxxx.comGET/wp-content/themes/sahifa/timthumb.php?src=/wp-content/uploads/2015/11/Alondra.jpg&h=50&w=50&a=c" has 120 files at cache. So for the same exact rby semseoymas - How to...
itpp2012 Wrote: ------------------------------------------------------- > > proxy_cache_key $cache_uri; > > Try: > proxy_cache_key $scheme$host$request_method$request_uri; Tested, but just the same: Here, the top 10 KEYS with more cache files (clones): root@hyperserver # find -type f -exec grep -a "KEY: " {} \; | sort | uniq -c | sort -n |by semseoymas - How to...
Some more interesting data: sometimes it HIT cache, sometimes not..... depending of referer???? I do not know how... I cannot imagine why. (consecutive log lines filtering by uri.... I did not remove any file or cache, even not restarted nginx at all) 107.167.108.187 - - [19/Nov/2015:05:22:22 +0100] "GET /wp-content/themes/sahifa/timthumb.php?src=/wp-content/uploads/2014/06/Clotilde.jpgby semseoymas - How to...
Some more interesting data: sometimes it HIT cache, sometimes not..... depending of referer???? I do not know how... I cannot imagine why. (consecutive log lines filtering by uri.... I did not remove any file or cache, even not restarted nginx at all) 107.167.108.187 - - [19/Nov/2015:05:22:22 +0100] "GET /wp-content/themes/sahifa/timthumb.php?src=/wp-content/uploads/2014/06/Clotilde.jpgby semseoymas - Nginx Mailing List - English
Hello all! First, the specs: nginx version: nginx/1.8.0 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) built with OpenSSL 1.0.1e-fips 11 Feb 2013 TLS SNI support enabled configure arguments: --with-http_flv_module --with-ipv6 --with-http_mp4_module --with-pcre=/usr/local/src/publicnginx/pcre-8.35 --sbin-path=/usr/local/sbin --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.by semseoymas - How to...
Hello all! First, the specs: nginx version: nginx/1.8.0 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) built with OpenSSL 1.0.1e-fips 11 Feb 2013 TLS SNI support enabled configure arguments: --with-http_flv_module --with-ipv6 --with-http_mp4_module --with-pcre=/usr/local/src/publicnginx/pcre-8.35 --sbin-path=/usr/local/sbin --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.by semseoymas - Nginx Mailing List - English
Hello: I am using proxy_protocol at Nginx along with TCP/TCP-SSL ELB at AWS. Client address specified in the PROXY protocol header is now saved in the $proxy_protocol_addr variable and can be used in the realip module. That is great. But programmers use to check connection along with php variable $_SERVER["HTTP_X_FORWARDED_PORT"]. ELB proxy_protocol is sending this informatioby semseoymas - How to...