Timeline for Files in the data directory (Upload | Custom)should not be downloadable. (Nginx)
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 6, 2015 at 9:10 | comment | added | davejenx | @YossiCrm Not that I know of. Nginx doesn't use .htaccess files, which are used to configure Civi's per-directory access restrictions under Apache. | |
Aug 5, 2015 at 23:15 | comment | added | Yossi | Is there a way to correct this issue without configuring nginx? I am hosting on pantheon and don't have access to nginx configs | |
Jul 20, 2015 at 12:06 | vote | accept | shrish | ||
Jul 20, 2015 at 11:57 | comment | added | shrish |
thanks. it's working. I tested it as well. One gotcha here though. This config should be on top of the other. Since I had location directive set for *.jpg files to expire max and I was able to browse jpg files under upload directory. now that I have set this on top (below root) this is working fine now. :) Thanks much.
|
|
Jul 20, 2015 at 11:33 | history | answered | davejenx | CC BY-SA 3.0 |