Forum Topic

Thanks for your participation and contribution.


Back to NGINX

Disallow serving hidden files

i90runner1
i90runner1
server {

        listen       80;
        root //Web/webfolder/;
        server_name   localhost ;
location ~ /\. {
                deny  all;
         }
}

1-1 of 1

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.