Welcome! Log In Create A New Profile

Advanced

best practise with lua files

April 03, 2017 10:54AM
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
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

best practise with lua files

alexsamad April 03, 2017 10:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 95
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready