Mats Eklund wrote on 23.06.2017:
| Hi Aleks, I'm on Openshift Online v2. |
As I answerd on SO I haven't used v2.
| I have been able to make changes to the config file, and for them to take effect, following this article: https://stackoverflow.com/questions/23569365/can-i-tweak-openshifts-haproxy-cfg-using-a-file-in-my-scalable-apps-git-reposi |
Perfekt.
| Mats Aleks wrote: > >Hi Mats, > >Mats Eklund wrote on 22.06.2017: > >
Which openshift version do you use? I have also added this question to the stackoverflow question.
In openshift v3 is haproxy 1.5.18 (rh rpm) in place. The configfile for the openshift router can be found on github. https://github.com/openshift/origin/blob/master/images/router/haproxy/conf/haproxy-config.template If you want to use it on premise you can replace it with your own. https://docs.openshift.org/latest/install_config/router/customized_haproxy_router.html#using-configmap-replace-template As lukas written in this message below you will need to modify the haproxy config, which you can't on openshift online. https://www.mail-archive.com/[email protected]/msg26530.html For the openshift router are some values which can be used to configure haproxy. https://docs.openshift.org/latest/install_config/router/customized_haproxy_router.html#using-env-var Side note: The *COMPRESSION* was my contribution ;-)))
Regards Aleks
|
--
Best Regards
Aleks

