zscself
V2EX  ›  问与答

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

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