V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
zscself
V2EX  ›  问与答

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

  •  
  •   zscself · Jan 7, 2017 · 991 views
    This topic created in 3399 days ago, the information mentioned may be changed or developed.

    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>
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   983 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 21:54 · PVG 05:54 · LAX 14:54 · JFK 17:54
    ♥ Do have faith in what you're doing.