mattie112 Posted February 5, 2021 Share Posted February 5, 2021 3 hours ago, bobo89 said: I'd love to change my ports too, in order to be able to use split DNS instead of NAT reflection and send internal network requests to "https://nextcloud.mydomain.com", and have them go to the proper port 443, without leaving the network. You can use my fork for now: https://hub.docker.com/r/mattie112/docker-nginx-proxy-manager (which I will delete if/when this gets implemented by Djoss) My fork is 100% the same code except that it listens on 80/443. Here is the diff if you are concerned: https://github.com/jlesage/docker-nginx-proxy-manager/compare/master...Mattie112:default-ports 4 Quote Link to comment
sdballer Posted February 7, 2021 Share Posted February 7, 2021 Does this require port 80 to be open? My ISP blocks that and I only have access to 443/SSL. I believe this was an issue before when I tried using DNS validation... is this still accurate as of today? thnx Quote Link to comment
mattie112 Posted February 7, 2021 Share Posted February 7, 2021 Letsencrypt uses port 80 for it's verification. 443 cannot be used because that would be SSL and requires a certificate in order to function. You can however manually get the certificates (or use DNS validation for example) and load them into NPM. Quote Link to comment
Kuusou Posted February 7, 2021 Share Posted February 7, 2021 I'm setting up a new container, but the default account doesn't work. Is there a reason for this, or was it changed? Quote Link to comment
mattie112 Posted February 8, 2021 Share Posted February 8, 2021 Did you use NPM in the past? Perhaps you still have a data directory with your old/own account? Quote Link to comment
joshkrz Posted February 11, 2021 Share Posted February 11, 2021 I would also like to request the ability to change the ports to 80 and 443 to allow for proper forwarding rather than using NAT loopback. Quote Link to comment
Djoss Posted February 12, 2021 Author Share Posted February 12, 2021 I'm not sure to understand the issue with NAT loopback. It seems to be an easier solution since you don't need to override local DNS... ? Quote Link to comment
mattie112 Posted February 12, 2021 Share Posted February 12, 2021 For IPv6 there is no NAT so that is in my opinion the best argument on why one would need 80/443. (wel technically you could NAT IPv6 but hey...) Quote Link to comment
ssinseeme Posted February 13, 2021 Share Posted February 13, 2021 Hi all. I have an issue getting Zoneminder docker to work with Nginx. I have all my other docker works flawlessly thank you for that. the only difference I see with Zoneminder is that it requires /zm after the port in order to work. For example 10.01.1.32:8443/zm works but 10.0.1.32:8443 won’t. When I set up the reverse proxy where can I tell it to add /zm to my subdomain.domain ? Quote Link to comment
joshkrz Posted February 15, 2021 Share Posted February 15, 2021 On 2/12/2021 at 1:48 PM, Djoss said: I'm not sure to understand the issue with NAT loopback. It seems to be an easier solution since you don't need to override local DNS... ? I would have thought it would be quicker to resolve locally than using a loopback? I also like the idea that the DNS request isn't leaving my network for a local machine. In the template there are options to change the ports which don't appear to work, was this functionality present previously? Thanks! Quote Link to comment
mattie112 Posted February 16, 2021 Share Posted February 16, 2021 11 hours ago, joshkrz said: I would have thought it would be quicker to resolve locally than using a loopback? I also like the idea that the DNS request isn't leaving my network for a local machine. In the template there are options to change the ports which don't appear to work, was this functionality present previously? Thanks! I have made a fork if you want to use 80/443: Quote Link to comment
Nuke Posted February 20, 2021 Share Posted February 20, 2021 how to block by referrer? how to install ngx_http_map_module? Quote Link to comment
mattie112 Posted February 20, 2021 Share Posted February 20, 2021 2 hours ago, Nuke said: how to block by referrer? how to install ngx_http_map_module? You can add "Custom Nginx Configuration" to a proxy host. If you need additional modules I would say fork the container and add them yourself. Not sure if additional modules can be added in an other way. And for other Nginx config see: https://nginxproxymanager.com/advanced-config/#custom-nginx-configurations Quote Link to comment
Aceriz Posted February 22, 2021 Share Posted February 22, 2021 Hi all hoping someone might be able to help me out. After much digging I haven't been able to find an answer as of yet.. I am looking at switching over from SWAG to the Nginx Proxy manager.(NPM) But am wondering is there is a way to configure Fail2Ban. (forgive me if this is a stupid idea-- But am I able to leave SWAG installed and running and just map over the error log files and proxy_host log from NPM? ? if so which ones would I need to map to have the "nginx-http-auth, and nginx-badbots, nginx-botsearch, and nginx-deny" running properly with the NPM. Secondly, wondering if anyone can advise steps needed to setup GeoIP2 within NPM? Reason for looking to switch is that I like the UI of Nginx Proxy manager. I enjoy that it appears to be a very easy and intuitive interface for setup of future reverse proxy. But want to have the backend security I was able to setup with Fail2ban and GEOIP2 within SWAG. additionally i like that within Nginx Proxy Manager.. I could setup easily an Custom Origin Cloudflare Cert and key for Origin end to end security (which I haven't been able to figure out an easy way to do within SWAG.(so if someone knew how to do that that would possible work as well.. Thanks in advance for support !! Quote Link to comment
milfer322 Posted February 26, 2021 Share Posted February 26, 2021 Hello, I want use this docker with a static ip in my network, using the port 80 and 443. When Im using the network br0 the ports for acces are the same 7818, 1880, 18443. How I can change it? Thanks for you help! Quote Link to comment
milfer322 Posted February 27, 2021 Share Posted February 27, 2021 This docker is in community apps? I cant see it! Thanks @Squid for show me that! Quote Link to comment
Squid Posted February 27, 2021 Share Posted February 27, 2021 Change the repository entry to be mattie112/docker-nginx-proxy-manager Quote Link to comment
milfer322 Posted February 27, 2021 Share Posted February 27, 2021 6 minutes ago, Squid said: Change the repository entry to be mattie112/docker-nginx-proxy-manager sorry, but how change that? Quote Link to comment
Squid Posted February 27, 2021 Share Posted February 27, 2021 Hit Edit on the dropdown when you click the app's icon Quote Link to comment
platoboos Posted March 1, 2021 Share Posted March 1, 2021 Hello, I want to setup tvheadend with this proxy manager but it doesn't work. I get only the message 502 Bad Gateway. Anyone ideas or setup for me ? thanks Quote Link to comment
mattie112 Posted March 1, 2021 Share Posted March 1, 2021 42 minutes ago, platoboos said: Hello, I want to setup tvheadend with this proxy manager but it doesn't work. I get only the message 502 Bad Gateway. Anyone ideas or setup for me ? thanks Can you share your config? Quote Link to comment
platoboos Posted March 1, 2021 Share Posted March 1, 2021 48 minutes ago, mattie112 said: Can you share your config? # ------------------------------------------------------------ # my.domain.de # ------------------------------------------------------------ server { set $forward_scheme http; set $server "192.168.178.103"; set $port 9981; listen 8080; listen [::]:8080; listen 4443 ssl http2; listen [::]:4443; server_name my.domain.de; # Let's Encrypt SSL include conf.d/include/letsencrypt-acme-challenge.conf; include conf.d/include/ssl-ciphers.conf; ssl_certificate /etc/letsencrypt/live/npm-2/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/npm-2/privkey.pem; # Block Exploits include conf.d/include/block-exploits.conf; access_log /config/log/proxy_host-4.log proxy; location / { # Force SSL include conf.d/include/force-ssl.conf; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; proxy_http_version 1.1; # Proxy! include conf.d/include/proxy.conf; } # Custom include /data/nginx/custom/server_proxy[.]conf; } Quote Link to comment
mattie112 Posted March 1, 2021 Share Posted March 1, 2021 Can you confirm that your backend works when you go to http://192.168.178.103:9981? Do you have any other hosts configured? Do they work or do they also have problems? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.