best practise with lua files

Alex Samad alex at
Thu Mar 30 23:36:34 UTC 2017


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 ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list