Hi,
I'm trying to protect vbseocp.php and other locations in nginx using this directive, but doesn't work:
# vBSeo CP
location /forum/vbseocp.php/ {
auth_basic "Restricted";
auth_basic_user_file htpasswd;
}
Do you know if it's possible to add more than one location in the same directive:
location ~ ^/forum(admincp|modcp|vbseocp.php)/ {
As was looking to add another level of protection to admincp, modcp and vbseocp.php, bur the above example doesn't work :(
Anyone knows?
Thanks



1Likes
LinkBack URL
About LinkBacks





Reply With Quote


