1 Answer
you can use following rule for deny all hidden files and directory, you just add following rule in your nginx configuration file.
location ~ /\. {
deny all;
}
Your Answer
x