best practise with lua files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

best practise with lua files

Alex Samad
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

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx
Loading...