How to restrict wp-login.php only with ip address


New Member
i try adding with .htaccess with condition below
<Files wp-login.php>
order deny,allow
deny from all
allow from x.x.x.x

but i still manage to access wp-login.php, any suggestion or steps maybe how to restrict wp-login in litespeed wordpress?

maybe in lsws/httpd-config.conf?

thank you