惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

G
Google Developers Blog
人人都是产品经理
人人都是产品经理
爱范儿
爱范儿
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
B
Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
H
Help Net Security
B
Blog RSS Feed
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
N
Netflix TechBlog - Medium
S
SegmentFault 最新的问题
The Cloudflare Blog
I
InfoQ
美团技术团队
博客园 - 三生石上(FineUI控件)
MyScale Blog
MyScale Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 司徒正美
L
LangChain Blog
A
About on SuperTechFans
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog

Apache

请教下 Apache2 代理二级域名的问题 Apache 错误:(20014)Internal error 使用 Apache 反代 DuckDuckGo,如何处理 external-content.duckduckgo.com?反代 Google 时遇到 recaptcha 验证码又怎么解决? 大佬们, apache 服务器配置虚拟主机,配置禁止所有非法域名时。 flink 如何提高字符串解析性能 有没有哪位熟悉 apache httpd,有个离谱的事情问一下 部署个 apache/doris 怎么就这么复杂 httpd 和其它 web server 的通信方式有哪些? 使用 docker 安装 h5ai 后,直接访问文本文件乱码 关于 htaccess Redirect 301 问题,怎么去掉参数 「分布式系统前沿技术」专题 | Pulsar 的设计哲学 有在 macOS 配置 Apache 服务器的吗? 大佬们求教: HttpClients.createDefault() LApache 虚拟主机设置.htaccess 实现全站 HTTPS Apache2 如何配置 SSL 证书啊 请教乐于助人、高手如云的 V2 朋友们! 一个服务器分别运行 Apache2 子域名网站和 Nginx 主域名网站,子域名为何出现 400 Bad Request? 个推基于 Apache Pulsar 的优先级队列方案 Apache 2.4.38 在编译配置参数上,如何指定 apache 的配置文件安置到/etc 里面? apache 下如何将 xxx.com www.xxx.com https://xxx.com 重定向 https://www.xxx.com 的 Apache 的 Access Log 中老是出现 OPTIONS 访问,导致数据库连接中断,怎么处理? 很灵异的 apache 伪静态规则偶尔会失效 大家遇到过吗?求解决方法 flume 抓 TOMCAT 日志发 kafka,怎么按日志内容分段发送? ubuntu16.04 搭建 wiki 求助 关于 apache 多域名多站点(http 和 https 都有)单服务器配置问题 配置好的 CentOS httpd SSL 服务,为什么不能网页不能自动重定向 https? 请教一下在 Lightsail 部署 Python Flask project 时候遇到的问题 想问问大神, apache 搭建的反代,套了 CF 之后,被反代的网站出现 ERROR1000,应该如何解决 Apache 可以通过路由配置让一个域名访问两个系统吗? 解决了一个 Apache 拒绝服务的问题((OS 64)指定的网络名不再可用。AH00341: winnt_accept: Asynchronous AcceptEx failed.)
反向代理配置 ip 可以访问,域名不行
harryperlau · 2019-12-30 · via Apache

用 Apache 做反向代理配置,配置文件如下:

    ProxyPass /webapp/  balancer://webapp-proxy/
    ProxyPassReverse /webapp/ balancer://webapp-proxy/
    <Proxy balancer://webapp-proxy>
            BalancerMember http://10.61.16.28:8523/webapp/
    </Proxy>

    ProxyPassMatch ^(/qa(/\w+)+)  balancer://qa-proxy/
    ProxyPassReverse ^(/qa(/\w+)+) balancer://qa-proxy/
    <Proxy balancer://qa-proxy>
            BalancerMember http://10.61.16.27:8522/
    </Proxy>



    ProxyPassMatch ^(/qa-client(/\w+)*.*)  balancer://qa-client-proxy/
    ProxyPassReverse ^(/qa-client(/\w+)*.*) balancer://qa-client-proxy/
    <Proxy balancer://qa-client-proxy>
            BalancerMember http://10.61.16.28:8524/
    </Proxy>


    ProxyPassMatch ^(/wx(/\w+)*.*)  balancer://qa-wx-proxy/
    ProxyPassReverse ^(/wx(/\w+)*.*) balancer://qa-wx-proxy/
    <Proxy balancer://qa-wx-proxy>
            BalancerMember http://10.61.16.28:8525/
    </Proxy>

为什么 ip 访问时正常,用域名访问时就会提示重定向次数过多。对了,Apache 配置文件里还有 webgate 单点登录拦截。