Re: nginx cache mounted on tmpf getting fulled

2017-02-19 Thread Peter Booth
Just to be pedantic. It’s counterintuitive but, in general, tmpfs is not faster than local storage, for the use case of caching static content for web servers. Sounds weird? Here’s why: tmpfs is a file system view of all of the system’s virtual memory - that is both physical memory and swap sp

Re: try_files does not have any effect on existing files

2017-02-19 Thread weheartwebsites
ouch sorry all good - I had a special location = /robots.txt block which was causing the try_files directive not to be called. removing that (or testing with a different filename) worked :) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272503,272510#msg-272510 ___

Re: Client certificate fails with "unsupported certificate purpose" from iPad, works in desktop browsers

2017-02-19 Thread nrahl
JoakimR Wrote: --- > Whitout any configuretion it's imposible to do much rather than refer > you to nginx.org documentation > http://nginx.org/en/docs/http/ngx_http_ssl_module.html The configuration in the vhost file is: ssl on; ssl_certificat

Re: Trouble with redirects from backend

2017-02-19 Thread JoakimR
You need proxy_redirect Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272358,272508#msg-272508 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Client certificate fails with "unsupported certificate purpose" from iPad, works in desktop browsers

2017-02-19 Thread JoakimR
Whitout any configuretion it's imposible to do much rather than refer you to nginx.org documentation http://nginx.org/en/docs/http/ngx_http_ssl_module.html Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272444,272507#msg-272507 ___ nginx mai

Cache only static files in sub/subfolder but not sub

2017-02-19 Thread JoakimR
Hi, I'm having as so many other a subfolder with media files, but I've like to do a simple file caching of only one of the subfolders = /media//thumbs/embedded with path insite the domain.tld and serve them as media.domain.tld So what I have done is added this to my config and it's working fine wh

Re: Question about proxy_cache_key

2017-02-19 Thread Dewangga Bachrul Alam
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello! Thanks Francis, yes it's about 'Vary' header should be ignored on proxy_ignore_headers. Thanks for the hints. On 02/16/2017 07:41 PM, Francis Daly wrote: > On Thu, Feb 16, 2017 at 01:08:35PM +0700, Dewangga Bachrul Alam > wrote: > > Hi the

Re: try_files does not have any effect on existing files

2017-02-19 Thread Francis Daly
On Sun, Feb 19, 2017 at 12:42:11PM -0500, weheartwebsites wrote: Hi there, > This means, I can not for example overwrite an existing physical file > location with a config like this: > > location / { > try_files /$host$uri /index.php > } > > Since if $uri exists under the root/alias it will b

try_files does not have any effect on existing files

2017-02-19 Thread weheartwebsites
usually you would have something like this in your config: location / { try_files $uri $uri/ /index.php } which works pretty good (1.11.10) - however it seems, that if you are requesting a physical file it will work anyway und the try_files gets ignored - so the following will work just as well