Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save felipefernandes/f76b9a4b171857ba4c8e4f72e11fc0f9 to your computer and use it in GitHub Desktop.
Save felipefernandes/f76b9a4b171857ba4c8e4f72e11fc0f9 to your computer and use it in GitHub Desktop.

Revisions

  1. felipefernandes created this gist Mar 5, 2018.
    7 changes: 7 additions & 0 deletions apache-reverse-proxy-docker.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    <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>