zscself
V2EX  ›  问与答

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

  •  
  •   zscself · Jan 7, 2017 · 1022 views
    This topic created in 3419 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   ·   5545 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 03:07 · PVG 11:07 · LAX 20:07 · JFK 23:07
    ♥ Do have faith in what you're doing.