elaa
Basic Pleskian
I am trying to deny access from except my ip address for a part of a site, so I did this:
Domains > example.com > Apache & nginx Settings.
in the Additional nginx directives section I added this code and my ip address
but I got
403 Forbidden
am I doing something wrong if so then what is it ?
Domains > example.com > Apache & nginx Settings.
in the Additional nginx directives section I added this code and my ip address
Code:
location ^~ /ctst {
allow 203.0.113.2;
deny all;
}
403 Forbidden
am I doing something wrong if so then what is it ?
Last edited: