Code: Select all
# DENY DIRECT ACCESS TO THESE EXTENSIONS
location ~\.(tpl|twig|ini|psd|txt|log|sh)$ {
deny all;
#return 404;
}
Code: Select all
# DENY ACCESS TO FILES THAT START WITH "."
location ~ ^\. {
deny all;
}
Code: Select all
# DENY DIRECT ACCESS TO THESE EXTENSIONS
location ~\.(tpl|twig|ini|psd|txt|log|sh)$ {
deny all;
#return 404;
}
Code: Select all
# DENY ACCESS TO FILES THAT START WITH "."
location ~ ^\. {
deny all;
}
v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.
Do you have any links that show this is more performant?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Users browsing this forum: No registered users and 20 guests