Skip to content

Instantly share code, notes, and snippets.

@hach-que
Created September 14, 2016 03:37
Show Gist options
  • Save hach-que/1f82267cc82848506373fab2fbef5fe2 to your computer and use it in GitHub Desktop.
Save hach-que/1f82267cc82848506373fab2fbef5fe2 to your computer and use it in GitHub Desktop.
<VirtualHost 0.0.0.0:9000>
DocumentRoot /opt/deck/html
RewriteEngine On
RewriteRule ^/login$ http://localhost:8084/login [P,L]
ProxyPass "/gate" "http://localhost:8084" retry=0
ProxyPassReverse "https://YOUR_DOMAIN/gate" "http://localhost:8084"
ProxyPass "/rosco" "http://localhost:8087" retry=0
ProxyPassReverse "/rosco" "http://localhost:8087"
<Directory "/opt/deck/html/">
Require all granted
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment