ThomasJSmart
Programmer
- Sep 16, 2002
- 634
How to set this location in the nginx site config file
2 possible paths:
/en/Content/fileX.xxx
/en/Content/fileY.yyy
/Content/fileX.xxx
/Content/fileY.yyy
both of these paths have files in the root as well as in multiple subdirectories.
fileX.xxx does not exist as a real file, there is a location for it that redirects any requests for non-existant files to a php gile.
fileY.yyy does exist as a real file.
i need a location setting that sets the expire for all REAL files inside the */Content/* path.
It should not affect the php redirect files.
if i just set a wildcard on the Content dir then it breaks the php redirects.
thanks!
site | / blog |
2 possible paths:
/en/Content/fileX.xxx
/en/Content/fileY.yyy
/Content/fileX.xxx
/Content/fileY.yyy
both of these paths have files in the root as well as in multiple subdirectories.
fileX.xxx does not exist as a real file, there is a location for it that redirects any requests for non-existant files to a php gile.
fileY.yyy does exist as a real file.
i need a location setting that sets the expire for all REAL files inside the */Content/* path.
It should not affect the php redirect files.
if i just set a wildcard on the Content dir then it breaks the php redirects.
thanks!
site | / blog |