Replies: 3 comments
-
Hello @fribse, how u doing? I am not sure if I got this right... you want to:
This next question is more for understanding what you need to accomplish in order to help you out...
If so, you might limit using IPTables, UFW or any firewall, that would be even better then doing that by nginx itself or maybe both, so you will have two layers of security.
|
Beta Was this translation helpful? Give feedback.
-
But using the firewall, then that will go for all the proxies I have, so that won't work (I don't have that many yet, but I hope there will be at some point). My 'project' is called docker-compose-letsencrypt-nginx-proxy-companion , so I guess it's a previous version of this, as I don't see that folder structure here. |
Beta Was this translation helpful? Give feedback.
-
I think would be a good idea to update it, you can follow here: https://github.com/evertramos/nginx-proxy-automation/blob/master/docs/upgrade-guide.md Any issues you might open a discussion for that or an issue. And the firewall you might specifiy the container network for that and you would block only for that specific container, but you will need to do over iptables, ufw will not work in that case because docker bypass ufw before it reaches your ufw rules. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
I'm using this great reverse proxy setup for some internal webservers, it works just perfect for us.
What I've done is that I have the nginx/letsencrypt on a DMZ server, I have another nginx (I'll call this secondary, which is set up with the variables for the nginx/letsencrypt) that does the forward to an internal webserver (IIS).
I need to limit the access to this internal webserver by IP, so I was trying to set it up on the secondary nginx, but this won't work it seems, as it's now seeing the 'nginx/letsencrypt' IP address.
Describe the solution you'd like
A way to use the simple allow/deny of IP address on the secondary somehow.
It's probably me missing something completely.
Describe alternatives you've considered
Can't think of any, except building a seperate server for this.
Additional context
Beta Was this translation helpful? Give feedback.
All reactions