Hi Alex/all, How did you fix? I've got a very similar issue. nginx running Wordpress with the Hypercache plugin but only the homepage is cached, other pages "miss" according to page headers. Thanks, Jore On 24/5/20 7:04 am, Alex Evonosky wrote: > Disregard, found the issue. > > thank you. > > On Sat, May 23, 2020 at 4:18 PM Alex Evonosky <alex.evonosky@gmail.com &by Jore - Nginx Mailing List - English
Disregard, found the issue. thank you. On Sat, May 23, 2020 at 4:18 PM Alex Evonosky <alex.evonosky@gmail.com> wrote: > "Can you be more specific? Which "cache"? Browser cache? Nginx content > cache? try_files has nothing to do with caching..." > > > Nginx content cache > > > "Either way, you need to check your headers to ensure that they aby Alex Evonosky - Nginx Mailing List - English
"Can you be more specific? Which "cache"? Browser cache? Nginx content cache? try_files has nothing to do with caching..." Nginx content cache "Either way, you need to check your headers to ensure that they allow caching for said pages. Also if any cookies are being sent then nginx won't cache the page." I looked at the headers using CURL.. The issue seems thisby Alex Evonosky - Nginx Mailing List - English
Hi everyone, We are using nginx as reverse proxy to cache static content for a moodle LMS site. The caching part is working fine but we started facing the cache path disk full issues. When we checked using du, it was reporting very low used space.Then we checked lsof output we found too many deleted file entries. We realized, that file gets deleted but it holds the FD and disk space is never reby patademahesh - Nginx Mailing List - English
> What I need is a cache of data that is aware that the validity of its data is > dependent on who - foo or bar - is retrieving it. In practice, this means that > requests from both foo and bar may be responded to with cache data from > the other's previous request, but most likely the cache will be populated with > responses to foo's requests to the benefit of bar, which is fine. &by Reinis Rozitis - Nginx Mailing List - English
On Tue, Mar 24, 2020 at 11:15:59PM +0000, randyorbs wrote: Hi there, > 4. use _different_ cache valid settings... > location /foo { > proxy_pass "http://myhost.io/go"; > proxy_cache shared_cache; > proxy_cache_valid any 5m; > } > location /bar { > proxy_pass "http://myhost.io/go"; > proxy_cache shared_cache; > proxy_cache_validby Francis Daly - Nginx Mailing List - English
Hi, In our deployment we do have configuration of proxy cache with multiple hard drives. Because of performance we don't have any RAID on these devices. That means we have to handle even a situation when drive dies, sometime. After disk failure of proxy_cache_path device nginx usually starts serving users with http500. So I've had an idea we may use proxy_intercept_errors but I end up with incby chocholo3 - Nginx Mailing List - English
Hi: If I want to implement this variable which returns the sum of all upstream response sizes from all subrequests. This is feasible? Thank you Roman Arutyunyan <arut@nginx.com> 于2019年11月27日周三 下午6:20写道: > Hi, > > On Wed, Nov 27, 2019 at 09:14:09AM +0800, lx wrote: > > Hi: > > When we use module of slice, the nuber of bytes from upstreaby lx - Nginx Mailing List - English
Hi, On Wed, Nov 27, 2019 at 09:14:09AM +0800, lx wrote: > Hi: > When we use module of slice, the nuber of bytes from upstream server > is more than the bytes which sent to client, So I want to get the number > of bytes from upstream server, How to get it? We don't have a variable that returns the sum of all upstream response sizes from all subrequests. Also, there can be mulby Roman Arutyunyan - Nginx Mailing List - English
Hi: When we use module of slice, the nuber of bytes from upstream server is more than the bytes which sent to client, So I want to get the number of bytes from upstream server, How to get it? Thank you Roman Arutyunyan <arut@nginx.com> 于2019年11月26日周二 下午9:10写道: > Hi, > > On Tue, Nov 26, 2019 at 07:24:00PM +0800, lx wrote: > > hi all: > >by lx - Nginx Mailing List - English
Hi, On Tue, Nov 26, 2019 at 07:24:00PM +0800, lx wrote: > hi all: > When I use module of slice, upstream_response_length and > upstream_addr can't work. > nginx.conf : > ######################################################################### > include mime.types; > default_type application/octet-stream; > > log_format main > '$status^$schemby Roman Arutyunyan - Nginx Mailing List - English
hi all: When I use module of slice, upstream_response_length and upstream_addr can't work. nginx.conf : ######################################################################### include mime.types; default_type application/octet-stream; log_format main '$status^$scheme^$request^$body_bytes_sent^$request_time^$upstream_cache_status^$remote_addr^$http_referer^$http_user_agenby lx - Nginx Mailing List - English
Hey all, We have a new set up running large amounts of data through a container nginx. This is crashing, without error. Forcing a reboot to recover daily at the moment. We are getting nothing from nginx logs or the docker logs of any use. Any suggestions to debugging this? CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9bc827d6ccd7 nginx:stable Container is running on ubuntu 18.04.3 LTSby Richard Dakin - Nginx Mailing List - English
> On 29 Oct 2019, at 02:08, Roger Fischer <roger@netskrt.io> wrote: > > Hello, > > proxy_store seems to be a much simpler alternative to “cache" pseudo-static resources. But there is very little discussion of it on the Internet or nginx forum (compared to proxy_cache). > > Is there anything non-obvious that speaks agains the use of proxy_store? proxy_store isby Igor Sysoev - Nginx Mailing List - English
> proxy_store seems to be a much simpler alternative to “cache" pseudo-static resources. > > Is there anything non-obvious that speaks agains the use of proxy_store? Depends on how you look at "much simpler". proxy_store doesn't have a cache manager so space limitation/cleaning is up to you. Also nginx doesn't save any headers (contrary to proxy_cache) with the stored fby Reinis Rozitis - Nginx Mailing List - English
Hello, proxy_store seems to be a much simpler alternative to “cache" pseudo-static resources. But there is very little discussion of it on the Internet or nginx forum (compared to proxy_cache). Is there anything non-obvious that speaks agains the use of proxy_store? Thanks… Roger _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.oby roger_bc - Nginx Mailing List - English
On Mon, Oct 07, 2019 at 12:07:29PM -0700, Roger Fischer wrote: Hi there, > is there a way in an NGINX HTTP Proxy to add a header to the response before it is cached? > > I would like to capture some information from the request and add it to the cached response, so that all clients getting the cached response receive that info. If you do not find a more direct way (either by config orby Francis Daly - Nginx Mailing List - English
Thanks for the input! On Sun, Sep 22, 2019 at 3:07 PM Francis Daly <francis@daoine.org> wrote: > On Sun, Sep 22, 2019 at 09:37:51AM -0500, Andrei wrote: > > Hi there, > > > Thanks for the confirmation! Is there a way to selectively ignore only > > specific "set-cookie"/cookies, versus all "set-cookie" headers to force > > cache? > > Nby Andrei - Nginx Mailing List - English
On Sun, Sep 22, 2019 at 09:37:51AM -0500, Andrei wrote: Hi there, > Thanks for the confirmation! Is there a way to selectively ignore only > specific "set-cookie"/cookies, versus all "set-cookie" headers to force > cache? Not that I am aware of, for proxy_cache. > Or even better to remove/strip certain cookies with a regex match? Not that I am aware of. If youby Francis Daly - Nginx Mailing List - English
Hi What is the difference between the mp4 module and the slice module for streaming mp4 videos in nginx? Both seem to work on streaming mp4 files but I can't really see the difference. On another aspect, the slice module seems to work nicely with the caching. Where slices from cache module are stored and served to the users. Can the same be done to the mp4 module i.e., to have responses fromby oah433 - Nginx Mailing List - English
On Fri, Aug 16, 2019 at 02:22:31AM -0400, hhypnos wrote: Hi there, > hi , can i use catching without proxy_pass? proxy_cache is for nginx to cache the response from a proxy_pass request to an upstream server. fastcgi_cache is for nginx to cache the response from a fastcgi_pass request to an upstream server. "Sending http headers so that the client can be invited to cache the responseby Francis Daly - Nginx Mailing List - English
I have configured nginx to cache static content, but i cant see any file in caching folder, also when i'm opening page in DevTool on network tab it show me: Response Header: access-control-allow-credentials: true access-control-allow-methods: GET access-control-allow-origin: http://google.com cache-control: no-cache, private cf-ray: 50655a0c2cf0d413-BUD content-encoding: br content-type: tby hhypnos - Nginx Mailing List - English
On Tue, Aug 06, 2019 at 10:27:57AM -0400, jvanetten wrote: Hi there, > I have a situation where I need to enable proxy cache for a gateway but > anything that goes to /gateway/public/files/ I do not want to cache. I have > tried nested locations and all kinds of configurations with no success. It > usually lands up with 404 errors on /gateway/public/files/ the complete url > incluby Francis Daly - Nginx Mailing List - English
I have a situation where I need to enable proxy cache for a gateway but anything that goes to /gateway/public/files/ I do not want to cache. I have tried nested locations and all kinds of configurations with no success. It usually lands up with 404 errors on /gateway/public/files/ the complete url includes a file reference like so /gateway/public/files/kd774831ldja3 caching is working for anythby jvanetten - Nginx Mailing List - English
On Thu, Jul 25, 2019 at 12:02:27PM +0000, Andrew Andonopoulos wrote: Hi there, > Nginx decide which content to cache based on the configuration under "Location" + the cache key? For example I have proxy_cache which means will cache everything which match the specific location? > nginx caching is described at, for example, https://www.nginx.com/blog/nginx-caching-guide/ withby Francis Daly - Nginx Mailing List - English
Hi Francis, Nginx decide which content to cache based on the configuration under "Location" + the cache key? For example I have proxy_cache which means will cache everything which match the specific location? I don't yet why I am getting cache miss for all the token based requests (m3u8 & ts), but I am wondering if is related to cache key and if will need to instruct neginx to cheby andregr-jp - Nginx Mailing List - English
Hello, I have an nginx proxy which suddenly adding 2 cache-control headers and the last modified time is always the current time: curl -I https://example.com/hls/5d15498d3b4e13.57348983/1280_720_3200_5d15498d3b4e13.57348983.m3u8?token=st=1563488654~exp=1563575054~acl=/hls/5d15498d3b4e13.57348983/*~hmac=863d655766652601b77c0ba1fc94a60039c4c800d9ac7097b68edfa77b9c1cdb HTTP/1.1 200 OK Server:by andregr-jp - Nginx Mailing List - English
Hello, I have an nginx proxy which suddenly adding 2 cache-control headers and the last modified time is always the current time: curl -I https://example.com/hls/5d15498d3b4e13.57348983/1280_720_3200_5d15498d3b4e13.57348983.m3u8?token=st=1563488654~exp=1563575054~acl=/hls/5d15498d3b4e13.57348983/*~hmac=863d655766652601b77c0ba1fc94a60039c4c800d9ac7097b68edfa77b9c1cdb HTTP/1.1 200 OK Server: nginxby andregr-jp - Nginx Mailing List - English
Hello, I have an nginx proxy which suddenly adding 2 cache-control headers and the last modified time is always the current time: curl -I https://example.com/hls/5d15498d3b4e13.57348983/1280_720_3200_5d15498d3b4e13.57348983.m3u8?token=st=1563488654~exp=1563575054~acl=/hls/5d15498d3b4e13.57348983/*~hmac=863d655766652601b77c0ba1fc94a60039c4c800d9ac7097b68edfa77b9c1cdb HTTP/1.1 200 OK Server: nginxby andregr-jp - Nginx Mailing List - English
Hello! On Tue, Jul 09, 2019 at 02:09:47AM -0400, kirti maindargikar wrote: > Hi, We are using 1.10.3 nginx in FIPS mode. As discussed above we already > have FIPS enabled on RHEL and we have recompiled nginx with OpenSSL FIPS. > However we still see that Nginx is using MD5 algorithms ( which is not > allowed in FIPS mode ) when we use proxy_cache to cache pictures . > Looks likeby Maxim Dounin - Nginx Mailing List - English