Created
June 19, 2020 21:55
-
-
Save joshuachinemezu/15ecd63218a31e12810cfe925b9be041 to your computer and use it in GitHub Desktop.
Apache Proxy Request to Docker
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> | |
ServerAdmin [email protected] | |
DocumentRoot /var/www | |
ServerName docker.example.com | |
ErrorLog logs/docker.example.com_error.log | |
CustomLog logs/docker.example.com_access.log combined | |
ProxyPreserveHost On | |
ProxyRequests off | |
<Location /> | |
ProxyPass http://localhost:9000/ | |
ProxyPassReverse http://localhost:9000/ | |
Order allow,deny | |
Allow from all | |
</Location> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment