V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
zscself
V2EX  ›  问与答

Apache 2.4.10 反代 Google 不知道配置哪里出错了

  •  
  •   zscself · 2017-01-07 19:46:13 +08:00 · 706 次点击
    这是一个创建于 2678 天前的主题,其中的信息可能已经有所发展或是发生改变。

    https://i.imgur.com/Edq4Pp4.png
    配置如下

    <VirtualHost *:443>
    	SSLCertificateFile     ssl/site.pem
    	SSLCertificateKeyFile ssl/domain.key
    	SSLEngine on
    	SSLProxyEngine on
    	ProxyPreserveHost On
    	ProxyPass / https://www.google.com/
    	ProxyPassReverse / https://www.google.com/
    	RequestHeader set Front-End-Https On
    	SSLProxyCheckPeerCN     Off
    	SSLProxyCheckPeerName   Off
    	ServerAdmin webmaster@localhost
    	ServerName a.domain.com
    	DocumentRoot /var/www/google
    	ErrorLog ${APACHE_LOG_DIR}/google_error.log
    	CustomLog ${APACHE_LOG_DIR}/google_access.log combined
    </VirtualHost>
    
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1034 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 21:03 · PVG 05:03 · LAX 14:03 · JFK 17:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.