Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mr-Kumar-Abhishek/e807f1d07b3de7e77edc98df1f9c9bb7 to your computer and use it in GitHub Desktop.
Save Mr-Kumar-Abhishek/e807f1d07b3de7e77edc98df1f9c9bb7 to your computer and use it in GitHub Desktop.
Apache Reverse Proxy Setup for Docker Containers
<VirtualHost *:80>
ProxyPreserveHost On
ProxyRequests Off
ServerName <<<SITE NAME>>>.com
ProxyPass / http://0.0.0.0:8080/ # Server IP + the exposed port of docker container
ProxyPassReverse / http://0.0.0.0:8080/ # Server IP + the exposed port of docker container
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment