ADDED: * The ability to show both IPv4 and IPv6 addresses (if the client has dual-stack and either the server does as well or a separate ClientInfo is running on the "other" net family).
56 lines
2.1 KiB
Bash
56 lines
2.1 KiB
Bash
# Enable debug mode.
|
|
#CINFO_DEBUG=1
|
|
|
|
# Use a different listening spec.
|
|
# The default is 'unix:///var/run/clientinfo/fcgi.sock'
|
|
##
|
|
# The below example listens on UDS path /tmp/mysock.fcgi as FCGI.
|
|
# Note the *three* slashes after the scheme. This is intentional and recommended,
|
|
# otherwise the path will be treated as relative to current working directory.
|
|
#CINFO_URI="unix:///tmp/mysock.fcgi"
|
|
#
|
|
# The below example listens on localhost port 4321 as FCGI.
|
|
# TLS is currently not supported; use a reverse stream proxy to terminate if TLS is needed.
|
|
#CINFO_URI="tcp://127.0.0.1:4321"
|
|
#
|
|
# The below example listens on localhost port 1234 as HTTP instead of FCGI.
|
|
# HTTPS is currently not supported; use a reverse proxy to terminate if HTTPS is needed.
|
|
# If reverse-proxying, BE SURE to set (NOT add) a header "X-ClientInfo-RealIP"
|
|
# with a value in the form of:
|
|
# * "<Client IP>:<Client Port>" (IPv4)
|
|
# * "[<Client IP>]:<Client Port>" (IPv6)
|
|
#CINFO_URI="http://127.0.0.1:1234"
|
|
|
|
# The permissions mode for the socket file, if using UDS.
|
|
#CINFO_FMODE=0o0600
|
|
|
|
# The permissiosn mode for the socket file directory, if using UDS.
|
|
#CINFO_DMODE=0o0700
|
|
|
|
# The GID or group name of the group to chown the socket to.
|
|
# Uses the runtime user UID if not specified.
|
|
#CINFO_FGRP=http
|
|
|
|
# The GID or group name of the group to chown the socket directory to.
|
|
# Uses the primary group of the runtime user if not specified.
|
|
#CINFO_DGRP=http
|
|
|
|
# If specified, IPv4 clients can have their IPv6 address detected
|
|
# by using this URL (e.g. 'https://c6.r00t2.io/').
|
|
# It is expected that this URL is also serving ClientInfo.
|
|
#CINFO_V6U='https://c6.r00t2.io/'
|
|
|
|
# If specified, IPv6 clients can have their IPv4 address detected
|
|
# by using this URL (e.g. 'https://c4.r00t2.io/').
|
|
# It is expected that this URL is also serving ClientInfo.
|
|
#CINFO_V4U='https://c4.r00t2.io/'
|
|
|
|
# Specify additional/explicit CORS origin(s).
|
|
# If you're using -4/--ipv4/$CINFO_V4U and/or
|
|
# -6/--ipv6/$CINFO_V6U, they will be added
|
|
# automatically but you should add any
|
|
# dual-stack domains that serve ClientInfo here,
|
|
# separated by commas.
|
|
# (e.g. 'https://c.r00t2.io'
|
|
#CINFO_CORS='https://c.r00t2.io'
|