Hosts any web server behind CAS Authentication with NodeJS.
# git clone https://github.com/fakechris/cas-proxy
# cd cas-proxy/
# npm -g install
// Then edit config.js, make sure you have everything checked in the config file
// and run!
# node app.js
All settings are placed in /config.js, hack it as you go.
enable_cas_auth
: Enable or not?cas_server_url
: Point to the CAS server URLcookie_secret
: The secret token for cookies. replace it with a random string for securityreplaceHostname
: Enable replace Host in header use proxy url hostrejectUnauthorized
: Enable use unsigned ssl cas server
proxy_url
: The url proxy tolisten_port
: The listen port of kibana3enable_ssl_port
: Enable SSL or not?listen_port_ssl
: If enable_ssl_port set to true, this is the port of SSLssl_key_file
: Point to the ssl key filessl_cert_file
: Point to the ssl certification file
CAS Proxy is freely distributable under the terms of the MIT license.
Copyright (c) 2014 Chris Song
See LICENCE for details.