bypassing and replacing cache if origin changed - or purging cache when origin changed?

2019-01-25 Thread nenaB
I have nginx configured to cache certain requests mapped by tenant/host/uri/args - these files wouldn't change often, but if they do, i want nginx to fetch them new. I don't have NginxPlus - and I'm running Nginx docker. Some things that I have investigated, but not sure how I could configure to

Multi layer caching

2019-01-25 Thread Joachim
Good day, we are trying to optimise our caching strategy on cache servers that are in front of a very large dataset 200 x 1MB/s x 500 days = 1MB/s x 8’640'000'000s = 8.6 PB We serve TV stream segments (HLS) for over 200 channels where users can fetch time shifted content. I.e. segments up to 7

RE: User directive error

2019-01-25 Thread Maxim Ozerov
Hm... it doesn't sound believable, but for example, you can restrict the root user with SELinux context ;) > > Hello! > > > Why does this error occur (Ubuntu 18.04/nginx 1.14.0)? > > > > nginx.conf:21 > > user www-data; > > > > error.log > > 2019/01/24 19:07:07 [warn] 3526#3526: the "user" dir

proxy_ssl_session_reuse not working with dynamic proxy_pass

2019-01-25 Thread gchiesa
Hi, I'm trying to enable the proxy_ssl_session_reuse with dynamic proxy_pass as per the following config. --- server { listen 80; server_name localhost; ssl_session_cache shared:SSL:20m; ssl_session_timeout 4h; proxy_ssl_session_reuse on; proxy_ssl_protocols

Re: User directive error

2019-01-25 Thread Palvelin Postmaster via nginx
> On 25 Jan 2019, at 03:50, Zhang Chao wrote: > > Hello! > > > Why does this error occur (Ubuntu 18.04/nginx 1.14.0)? > > > > nginx.conf:21 > > user www-data; > > > > error.log > > 2019/01/24 19:07:07 [warn] 3526#3526: the "user" directive makes sense only > > if the master process runs w