The "extra-config" is really for additional and custom Nginx configs. We don't really parse what's specified here to work out what options should also be added on the HAProxy side of things.
For HAProxy, we added "haproxy-extra-configs" per LP:1976176. I think this should do what you want:
The "extra-config" is really for additional and custom Nginx configs. We don't really parse what's specified here to work out what options should also be added on the HAProxy side of things.
For HAProxy, we added "haproxy- extra-configs" per LP:1976176. I think this should do what you want:
| locations: check-method: GET max_body_ size 15m indico_ session extra-configs:
| /:
| backend-
| backend-check-path: /health
| backend-inter-time: 10s
| backend-maxconn: 50
| backends: ['1.1.1.1:80']
| backend-options: ['http-request set-header X-Forwarded-For %[src]','timeout server 300s']
| extra-config:
| - client_
| - proxy_cache_bypass \$cookie_
| - proxy_read_timeout 300s
| haproxy-
| - timeout server 300s
Let me know if not.