go_clientinfo/_extras/clientinfo.env
2024-12-12 02:22:54 -05:00

23 lines
974 B
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"