Created
          March 5, 2018 15:53 
        
      - 
      
- 
        Save felipefernandes/f76b9a4b171857ba4c8e4f72e11fc0f9 to your computer and use it in GitHub Desktop. 
    Apache Reverse Proxy Setup for Docker Containers
  
        
  
    
      This file contains hidden or 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> | |
| 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
  
            
Thank you for this :) Helped