Last active
April 6, 2019 23:09
-
-
Save jaykepeters/65e48718c817630bcf8382cf76b9db43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName proxy.jpits.us | |
SSLProxyEngine on | |
ProxyRequests Off | |
ProxyPreserveHost on # Optional, may resolve login issues. | |
<Proxy *> | |
Order allow,deny | |
Allow from All | |
</Proxy> | |
ProxyPass / https://www.google.com/ | |
ProxyPassReverse / https://www.google.com/ | |
ErrorLog /var/log/apache2/google.local-error.log | |
CustomLog /var/log/apache2/google.local-access.log combined | |
</VirtualHost> | |
# Taken from https://stackoverflow.com/questions/40938148/reverse-proxy-for-external-url-apache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment