dokku / dokku-redirect

A plugin for dokku that gives the ability to set simple redirects for an application
MIT License
107 stars 9 forks source link

How to change the IP the redirect block listens on? #36

Open bfontaine opened 1 year ago

bfontaine commented 1 year ago

Hello,

Description of problem

I have some apps that are accessible through a VPN, so they only listen on the private VPN address. The nginx configuration of this plugin hardcodes the listening directives and so unless I’m missing something it’s not possible to change it.

Would there be a way to setup a redirect on a specific bind address (like dokku nginx:set $APP_NAME bind-address-ipv4)?

Thanks in advance.

josegonzalez commented 1 year ago

This isn't possible atm but might be a good addition for us to respect the nginx property.

josegonzalez commented 1 year ago

Pull requests welcome btw :)