这个其实有点无语,当时想太多了,其实slb上443转发到后端nginx对应的80就好了,即做单向认证

步骤

健康检查

  1. 对应的4xx和5xx的状态码添加
    阿里云——SLB踩坑记录
    阿里云——SLB踩坑记录
    阿里云——SLB踩坑记录

  2. /etc/systcl.conf配置

net.ipv4.conf.default.rp_filter = 0
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.eth0.rp_filter = 0
  1. 单向认证
    slb上是443端口,但是你后端要转发到对应80端口就好了
    阿里云——SLB踩坑记录

相关文章:

  • 2021-08-03
  • 2021-12-04
  • 2021-11-24
  • 2021-10-03
  • 2018-06-19
  • 2021-08-30
  • 2021-11-14
  • 2021-09-14
猜你喜欢
  • 2021-10-02
  • 2021-11-06
  • 2021-12-01
  • 2021-12-14
  • 2021-09-28
  • 2021-12-14
  • 2021-08-30
  • 2021-08-08
相关资源
相似解决方案