That would allow access from 192.0.2.0/24 (which is presumably your administrative network) whilst denying all access from the rest of the Internet. Obviously adjust the IP range(s) as needed.
On the other hand, Wordpress administration is already authentication-protected, so with strong passwords, you shouldn't have a massive amount of trouble.
As per the Nginx documentation for the access module:
That would allow access from
192.0.2.0/24
(which is presumably your administrative network) whilst denying all access from the rest of the Internet. Obviously adjust the IP range(s) as needed.If you wanted to do HTTP authentication instead, then you might look at the documentation for the HTTP basic auth module.
On the other hand, Wordpress administration is already authentication-protected, so with strong passwords, you shouldn't have a massive amount of trouble.