Skip to content

Instantly share code, notes, and snippets.

Last active Aug 9, 2019
What would you like to do?
<VirtualHost *:80>
ServerName localhost
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
# ClusterControl SSH & SSE
RewriteEngine On
RewriteRule ^/clustercontrol/ssh/term$ /clustercontrol/ssh/term/ [R=301]
RewriteRule ^/clustercontrol/ssh/term/ws/(.*)$ ws://$1 [P,L]
RewriteRule ^/clustercontrol/ssh/term/(.*)$$1 [P]
RewriteRule ^/clustercontrol/sse/events/(.*)$$1 [P,L]
# Main Directories
<Directory />
Options +FollowSymLinks
AllowOverride All
<Directory /var/www/html>
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment