Replies: 2 comments 3 replies
-
You are getting a 404 because you do not specify where the proxy traffic should go.
If you want to grant access not only to
If you are blocking by local IP's: be sure to forward your FQDN inside your local DNS to Nginx Proxy Manager. If that is not possible, you need to allow your public IP instead (only makes sense if you have a static public IP). |
Beta Was this translation helpful? Give feedback.
-
@Flothoger It seems that proxy_pass cannot be used twice In the image I tried to have to set the uplink first, no no success However, this seems to be working, you can use the login form but coming in wp-admin sends you to not found And finally wp-login also only accessible from local subnet |
Beta Was this translation helpful? Give feedback.
-
Dear all,
I've a wordpress instance running on Docker, behind a Nginx proxy manager also hosted on Docker.
I would like to prevent WAN users to connect to the workdpress wp-admin page, thus only allowing this access from the LAN.
I've added the following section in the Advanced section of the proxy host configuration :
location ~ ^/(wp-admin|wp-login.php) { allow 192.168.1.254; deny all; }
Unfortunately this leads to a 404 - Not Found page... I've just no idea how I could do that...
Any help would be much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions