Skip to content

Instantly share code, notes, and snippets.

View kaya18's full-sized avatar
😃

kaya kaya18

😃
View GitHub Profile
@felipefernandes
felipefernandes / apache-reverse-proxy-docker.conf
Created March 5, 2018 15:53
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>
<!-- Modify this according to your requirement -->
<h3>
Redirecting to duckdev.com after <span id="countdown">10</span> seconds
</h3>
<!-- JavaScript part -->
<script type="text/javascript">
// Total seconds to wait
var seconds = 10;