You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed Bunkerweb 1.6.0 (BTW -- thank you for great software!) and is testing it right now.
We are running a Nomad+Consul on several hosts for fault-tolerance. Service discovery uses Consul dynamical DNS resolving for routing traffic.
To do so, we need to use "resolver" directive of Nginx. As I understand, additional settings go to " Reverse proxy includes" field in Reverse proxy plugin page in UI. But when I enter something like `"resolver 10.5.0.1 valid=5s;", field blocks saving and applying.
Now maybe I'm using it wrong, but this seems to be intuitive place for it.
How to reproduce?
Try to input a line of Nginx config in "Reverse proxy includes" field on "Reverse proxy - v1.0" page of Bunkerweb 1.6.0
Thank you for opening this issue! The REVERSE_PROXY_INCLUDES directive is specifically designed for configurations that require the include prefix. For your use case, you'll need to create a custom configuration to achieve the desired setup.
Thank you!
Will "/configs/global/http" section be appended to every service, of am I understanding documentation wrong?
I'm trying to add resolver 10.5.0.1 valid=5s; to it, but getting "config wrong, rolling back". Or is such option make all gui-configuring impossible, and "custom config" needs to be complete nginx config altogether?
Hi @gutleib, that's because we already have a setting that sets it: DNS_RESOLVERS. Also when you're having a configuration issue BunkerWeb logs should tell you what happened when the test is done (we test the config before executing a reload so your server is still up and running).
What happened?
I have installed Bunkerweb 1.6.0 (BTW -- thank you for great software!) and is testing it right now.
We are running a Nomad+Consul on several hosts for fault-tolerance. Service discovery uses Consul dynamical DNS resolving for routing traffic.
To do so, we need to use "resolver" directive of Nginx. As I understand, additional settings go to " Reverse proxy includes" field in Reverse proxy plugin page in UI. But when I enter something like `"resolver 10.5.0.1 valid=5s;", field blocks saving and applying.
Now maybe I'm using it wrong, but this seems to be intuitive place for it.
How to reproduce?
Try to input a line of Nginx config in "Reverse proxy includes" field on "Reverse proxy - v1.0" page of Bunkerweb 1.6.0
Configuration file(s) (yaml or .env)
Relevant log output
BunkerWeb version
1.6.0
What integration are you using?
Docker
Linux distribution (if applicable)
Ubuntu
Removed private data
Code of Conduct
The text was updated successfully, but these errors were encountered: