Re: try_files and expires

2015-12-09 Thread Francis Daly
On Tue, Dec 08, 2015 at 03:34:28PM +0100, rai...@ultra-secure.de wrote: Hi there, > location / { > # First attempt to serve request as file, then as directory, > then fall back to index.php > try_files $uri $uri/ /website/var/assets/$uri /index.php?$args; > index index

try_files and expires

2015-12-08 Thread rainer
Hi, I have a case with a CMS (pimcore) and setting the expires directive. location / { # First attempt to serve request as file, then as directory, then fall back to index.php try_files $uri $uri/ /website/var/assets/$uri /index.php?$args; index index.php; } So