sproxy-0.9.7: config/sproxy.yml.example
# Log level: debug, info, warn, error
# Default is debug
# log_level: debug
# The port sproxy listens on (this is always HTTPS).
# Default is 443
listen: 4430
# User to run as.
# If launched with root privileges, sproxy will switch
# to this user after openning the ports (443 and 80).
# Default is "sproxy"
# user: sproxy
# yes / no
# If 'yes', sproxy will open port 80 and redirect HTTP requests
# to the above listen port. Default is "yes" if listen is 443
# redirect_http_to_https: yes
cookie_domain: example.com
cookie_name: sproxy-dev
# Google OAuth2 client ID & secret.
# The names are such for hysterical raisins:
# client_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com
# client_secret: secret/file
# LinkedIn OAuth2 client ID & secret.
# linkedin_client_id: xxxxxxxxxxxxxx
# linkedin_client_secret: secret/file
ssl_key: config/server.key.example
# Include extra (intermediate) certs in a single file. Make sure that they're sorted from server downward, i.e.:
# -----BEGIN CERTIFICATE-----
# (server certificate)
# -----END CERTIFICATE-----
# -----BEGIN CERTIFICATE-----
# (intermediate certificate)
# -----END CERTIFICATE-----
# -----BEGIN CERTIFICATE-----
# (optional CA certificate)
# -----END CERTIFICATE-----
ssl_certs: config/server.crt.example
# PostgreSQL database connection string
database: "user=you dbname=sproxy"
# To initialize/populate the DB, see sproxy.sql.
# Which backend should sproxy relay the requests to?
# Default is 127.0.0.1:8080, ignored if backend_socket is set
# backend_address: "127.0.0.1"
# backend_port: 8080
# If specified, connect to this UNIX-socket instead of TCP
# backend_socket: "/tmp/foo.sock"
# Sproxy session shelf life in seconds, default is 30 days.
# When expired, Sproxy will require re-authenticate.
# session_shelf_life: 2592000