tienminhvydev
Hello, what web server do you use.?Take nginx server as an example. Access to the directory can be restricted as follows.
location / {
allow ip;
deny ip;
}
The whole station
Add to pseudo static
Allow is allowed IP and deny is not allowed IP.
Note: here are just two examples. The directory is set according to your own needs.