Hi,
I have a folder which is /generator/data ... The data folder has 777 permissions and inside the data folder i have a .htaccess file with thw following syntax:
Code:
order deny,allow
deny from all
<Files ~ "\.(txt|html|gz)$">
allow from all
</Files>
This .htaccess rule blocks access to the /generator/data for everyone EXCEPT for files with extensions .txt , .html , .gz ....
The problem is i am using NGINX as my Webserver and not Apache. I know that i have to update somehow my Virtual Host file for my domain. Can someone help me to convert this simple Apache rule into NGINX syntax???
Thanks in advance
George