paulbsd-salt/states/haproxy/defaults.yaml

79 lines
1.6 KiB
YAML
Raw Normal View History

2022-10-01 20:06:19 +02:00
---
haproxy:
enabled: true
packages:
- haproxy
2022-10-10 10:16:32 +02:00
scripts:
2022-10-23 16:37:53 +02:00
- name: scripts/http.lua
lib: true
- name: scripts/json.lua
lib: true
- name: scripts/collector.lua
lib: false
- name: scripts/weight_by_latency.lua
lib: false
maps:
- access
2022-12-09 21:56:25 +01:00
- domains
2022-11-08 11:04:39 +01:00
- redirects
- vhosts
2022-10-01 20:06:19 +02:00
config:
2022-12-06 20:26:55 +01:00
dir: /etc/haproxy
configfile: haproxy.cfg
2022-12-26 18:13:39 +01:00
namespace: paulbsd
2022-11-08 11:04:39 +01:00
servername: "High-performance Web Server"
2022-10-23 16:37:53 +02:00
http2: true
2022-10-01 20:06:19 +02:00
defaults:
2022-10-23 16:37:53 +02:00
#log: global
#log: 127.0.0.1 local0
log: stdout format raw daemon info
retries: 2
2022-12-17 23:26:58 +01:00
timeout check: 1s
2022-10-23 16:37:53 +02:00
timeout client: 30m
2022-12-17 23:26:58 +01:00
timeout connect: 1s
2022-10-23 16:37:53 +02:00
timeout server: 30m
2022-12-06 20:26:55 +01:00
unique-id-format: "%{+X}o\\ %ci:%cp_%fi:%fp_%Ts_%rt:%pid"
2022-11-13 20:48:27 +01:00
balance: roundrobin
2022-12-03 00:07:39 +01:00
check: true
2022-10-01 20:06:19 +02:00
user: haproxy
group: haproxy
http_port: 80
https_port: 443
2022-12-03 00:07:39 +01:00
capture_length: 200
admin:
enable: false
port: 7000
2022-10-23 16:37:53 +02:00
api:
enable: true
2023-01-04 23:32:56 +01:00
filesocket: /var/run/haproxy-admin.sock
2022-10-23 16:37:53 +02:00
tcpsocket: ipv4@127.0.0.1:9990
2022-10-01 20:06:19 +02:00
acme_dir: /etc/acme
2022-10-23 16:37:53 +02:00
acme_fullchains_dir: /etc/acme/fullchains
acme_dh_dir: /etc/acme/dh
2022-10-01 20:06:19 +02:00
ssl_ciphers:
2022-12-24 17:49:54 +01:00
- EECDH+AESGCM
- EECDH+CHACHA20
2022-10-01 20:06:19 +02:00
ssl_options:
- no-sslv3
- no-tls-tickets
2022-11-08 11:04:39 +01:00
gzip_mime_types:
- text/html
- text/plain
- text/css
- text/javascript
2022-11-13 20:48:27 +01:00
- application/json
2022-12-24 17:49:54 +01:00
cache:
size: 50000
file_types:
- .css
- .js
- .png
- .jpg
2022-12-03 00:07:39 +01:00
ddos:
timeperiod: 10s
maxrequests: 200
2022-12-09 21:56:25 +01:00
domains: {}
2022-10-01 20:06:19 +02:00
vhosts: {}
services: {}
2022-12-11 16:34:27 +01:00
spoe: {}