Timeline for try_files with a single @location?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 2, 2018 at 5:34 | comment | added | Unicornist |
@chx you could use internal; directive for that purpose.
|
|
Jun 30, 2016 at 8:18 | vote | accept | chx | ||
Jun 30, 2016 at 6:03 | answer | added | Alexey Ten | timeline score: 8 | |
Jun 30, 2016 at 0:59 | comment | added | chx | Yes /data/example.com/sites/default/files exists but I don't want /data/example.com/foobar to be served directly only /data/example.com/sites/default/files . | |
Jun 29, 2016 at 23:53 | comment | added | gxx |
Does /data/example.com contain /sites/default/files/ ? If so: 1.) Remove the location location /sites/default/files/ { [...] } directive. 2.) Add $uri to the try_files directive in location / { [...] } .
|
|
Jun 29, 2016 at 23:28 | history | asked | chx | CC BY-SA 3.0 |