Question
trying to secure my application & wordpress upload folder but no luck :(
hi,
i was trying to secure my wordpress site and applications upload folder with the following command but its not working. i can still upload those denied file types. can somebody tell me what im doing wrong here?
location ~* ^/upload/directory/.*.(html|htm|shtml|php|js|swf)$ {
deny all;
}
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×