Skip to end of metadata
Go to start of metadata

Update your scalr-server.rb configuration for the CSG Service:

# Enable the CSG service
csg[:enable] = true

# Root CA. Users must configure their clients to trust csg[:cert] SSL certificate. This must be a SELF SIGNED cert.
csg[:cert] = '/etc/scalr-server/csg.crt'
csg[:key] = '/etc/scalr-server/csg.key'

# Set port CSG will listen on. Default is 3128, like in most HTTP(S) proxies.
csg[:bind_port] = 3128 
# csg[:bind_host] should be this host's public domain name.  
# If you have a single node deployment, this will be simply routing[:endpoint_host] 
# For a multi node deployment, this will be the host that CSG resides on.  Be sure to update your scalr-server-local.rb
csg[:bind_host] = routing[:endpoint_host]

# Logger (optional)
#app[:configuration] = {
#  :scalr => {
#    "logger" => {
#      "csg" => {
#        "backend" => "logstash",
#        "proto" => "tcp",
#        "path" => "logstash.local",
#        "port" => 8888,
#        "enabled" => true
#      }
#    }
#  }
#}
Please note: Your csg.crt and csg.key must be a valid SELF SIGNED X.509 certificate and key for the endpoint hostname you have configured. The cert must be PASSWORDLESS.