小编Kay*_*maz的帖子

HAProxy 不会自动重新加载 DNS

我已经在 Debian Stretch (9) 上安装了 HAProxy 1.7.5-2,用于蓝/绿部署基础设施。

HAProxy 在 TCP 模式下设置并每 5 秒重新加载 DNS,但它没有。

global
    log 127.0.0.1 local0 warning
    stats socket /run/haproxy/admin.sock mode 660 level admin
    stats timeout 10m
    user haproxy
    group haproxy
    daemon

# Default SSL material locations
ca-base /etc/ssl/certs
crt-base /etc/ssl/private

# Default ciphers to use on SSL-enabled listening sockets.
# For more information, see ciphers(1SSL). This list is from:
#  https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers/
# An alternative list with additional directives can be obtained from
#  https://mozilla.github.io/server-side-tls/ssl-config-generator/?server=haproxy
ssl-default-bind-ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS
ssl-default-bind-options …
Run Code Online (Sandbox Code Playgroud)

internal-dns haproxy amazon-route53 debian-stretch

5
推荐指数
1
解决办法
4158
查看次数