I was just reading about the new "option forwarded" capability in 2.9, so I added it to my config and now I get warnings when checking the config.

[WARNING] (253408) : config : parsing [/etc/haproxy/haproxy.cfg:45] : 'option forwarded' ignored because frontend 'web80' has no backend capability. [WARNING] (253408) : config : parsing [/etc/haproxy/haproxy.cfg:60] : 'option forwarded' ignored because frontend 'web' has no backend capability.

This is the line I added to the frontends:

        option  forwarded except 127.0.0.1

I realized I don't need it on 'web80', so I removed that one.

The 'web' frontend does use backends. Its default backend has no servers and denies all requests -- the request must match one of the ACLs to choose a backend that actually does something.

I suspect that I can ignore this warning, but I want to check here and make sure. Can I set something so it doesn't emit the warning?

Thanks,
Shawn


Reply via email to