【问题标题】:Squid : Reverse proxy with IIS 10Squid:使用 IIS 10 的反向代理
【发布时间】:2019-11-12 12:45:05
【问题描述】:

在 windows server 2019 上的 ISS 10 上有一个网站。 默认网站和另一个。 我没有对那些网站和 IIS 进行任何配置。这是一个 crm 产品,所有默认设置。 我在两个网站上绑定了 https 端口和证书。 在本地网络上,当我转到https://local_net_adress 时,它会从默认网站重定向到其他网站。 从 Internet,当我转到 https://public_adress 时,我没有重定向,它显示了默认的 IIS 网页。

这是我在这个网站上的 squid 配置: (反向代理中的 squid 可用于交换 webmail 和许多其他 apache 网站。)

    # ----- xxxxxx -----
cache_peer xx.xx.xx.xx parent 443 0 no-query originserver ssl sslflags=DONT_VERIFY_PEER login=PASS name=srv-xxx

acl myacl url_regex -i ^https://public_url/.*$

cache_peer_access srv-xxx allow myacl
cache_peer_access srv-xxx deny all

http_access allow myacl
never_direct allow myacl
miss_access allow myacl

是 squid 还是 IIS 的问题?

【问题讨论】:

    标签: iis reverse-proxy squid


    【解决方案1】:

    好的,现在可以了。 它在 IIS 绑定上。 为了工作,我必须从默认网站中删除绑定,并且不要将主机名放在其他网站的绑定上。 问题解决了。

    【讨论】:

      猜你喜欢
      • 2015-04-04
      • 2023-03-16
      • 1970-01-01
      • 2019-01-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-02-22
      • 2019-09-12
      相关资源
      最近更新 更多