Block extension for specified IP address

Dr_tux nginx-forum at forum.nginx.org
Thu Jan 7 06:57:36 UTC 2021


Thanks for your help. I solved it as follows.

 location ~* \.(exe)$ {
               proxy_pass http://127.0.0.1:4545;
               allow 192.168.1.1/32; 
               deny all;
}

Best.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,290354,290412#msg-290412



More information about the nginx mailing list