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
When adding an HTTP to HTTPS redirect for some URLs in the haproxy configuration, I was getting the warning messages below. use_backend and http-request rules are added to the haproxy frontend section in no specific order.
I've adjusted the template so that use_* statements are always last in the frontend section. I tried to simplify the code as much as possible (with my limited Jinja2 knowledge) but perhaps there is a better way. I've also removed some extra newlines to keep the generated config file clean.
I'm running Opnsense 18.7.7 and noticed that the template is a bit different from the master branch. I've made and tested my adjustments with this version before rebasing (dee6c58) with the current master branch (not sure how to test this).
When adding an HTTP to HTTPS redirect for some URLs in the haproxy configuration, I was getting the warning messages below.
use_backendandhttp-requestrules are added to the haproxy frontend section in no specific order.I've adjusted the template so that
use_*statements are always last in the frontend section. I tried to simplify the code as much as possible (with my limited Jinja2 knowledge) but perhaps there is a better way. I've also removed some extra newlines to keep the generated config file clean.I'm running Opnsense 18.7.7 and noticed that the template is a bit different from the
masterbranch. I've made and tested my adjustments with this version before rebasing (dee6c58) with the current master branch (not sure how to test this).Pull request: #999
The text was updated successfully, but these errors were encountered: