Skip to content

Instantly share code, notes, and snippets.

@smortex
Created February 9, 2021 00:46
Show Gist options
  • Save smortex/db355ff62f3b6f3eb5637e6c636431fb to your computer and use it in GitHub Desktop.
Save smortex/db355ff62f3b6f3eb5637e6c636431fb to your computer and use it in GitHub Desktop.
IAC-1186 issue
$hostname = 'service.example.com'
apache::vhost { $hostname:
port => 443,
docroot => "${dashboard_path}/public",
# [...]
}
apache::vhost { "${hostname}:5556":
servername => $hostname,
port => 5556,
docroot => '/var/empty',
proxy_pass => [
{
path => '/',
url => 'ws://localhost:5556/',
},
],
# [...]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment