OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • HAProxy custom config
« previous next »
  • Print
Pages: [1]

Author Topic: HAProxy custom config  (Read 4396 times)

siginigin

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
HAProxy custom config
« on: March 28, 2019, 08:11:21 am »
Hi guys,

I need to have following codesnippet in /usr/local/etc/haproxy.conf in backend pool:
Code: [Select]
server kibana_E1 10.1.1.2:443 check inter 2s port 443  check-ssl verify none source 1.1.1.254
server kibana_E2 10.1.1.3:443 check inter 2s port 443  check-ssl verify none source 1.1.1.254

but throuh GUI I'm can only choose ssl instead of check-ssl as health check. This works if I do this manually in mentioned file and restart haproxy.
The problem is that this is rewritten after Apply trough GUI.

So how to do it? The only way I can see now is to edit /usr/local/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf, but not sure what it does after upgrade.

Currently I'm running 19.1.2.

Thank you for help.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17706
  • Karma: 1618
    • View Profile
Re: HAProxy custom config
« Reply #1 on: March 28, 2019, 11:12:51 pm »
Easiest way if you don't know how is requesting the feature for the GUI plugin here:

https://github.com/opnsense/plugins/issues


Cheers,
Franco
Logged

siginigin

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
Re: HAProxy custom config
« Reply #2 on: March 29, 2019, 09:50:20 am »
Thank you, I did so https://github.com/opnsense/plugins/issues/1282
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17706
  • Karma: 1618
    • View Profile
Re: HAProxy custom config
« Reply #3 on: March 29, 2019, 03:10:11 pm »
Splendid, thanks. Handed over to maintainer of the plugin.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • HAProxy custom config
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2