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
_
On Fri, Jan 01, 2021 at 02:54:21AM -0500, Dr_tux wrote:
Hi there,
> I'm stuck in this. I am open to your suggestions. Thank you.
Untested by me, but...
> I have a reverse proxy configuration as follows, I want to block exe
> extensions for requests from here. But it doesn't work. How can I do t
Hi Guys,
I'm stuck in this. I am open to your suggestions. Thank you.
I have a reverse proxy configuration as follows, I want to block exe
extensions for requests from here. But it doesn't work. How can I do that ?
Example Config:
location / {
types {