best practise with lua files

Alex Samad alex at samad.com.au
Thu Mar 30 23:36:34 UTC 2017


Hi

I have started to use lua file for some dynamic stuff.

Whats the best practice to secure them

How do I stop them from being downloaded

 location ~ \.lua$ {
  send error back
}


is it best to place all of them into a different directory that isn't under
a root ?


A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170331/bf52401e/attachment-0001.html>


More information about the nginx mailing list