haproxy を HTST に対応しようと思って config を追加したらエラーがでた
追加した設定
http-response set-header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload;"
エラー
* Reloading haproxy haproxy
[ALERT] 011/191557 (13982) : parsing [/etc/haproxy/haproxy.cfg:25]: 'http-response set-header' expects exactly 2 arguments.
[ALERT] 011/191557 (13982) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg
2arguments 入れてるじゃんと思ってググったところ haproxy v1.5 系ではダブルクオーテーションで括れないみたいだった。
haproxy v1.5 で HTST を設定するときの config
ダブルクオーテーションで囲うのではなくスペースをエスケープする。
http-response set-header Strict-Transport-Security max-age=31536000;\ includeSubDomains;\ preload;
これでバッチリリスタートできた

設定的にも OK
参考
おしまい