go_clientinfo/_extras/clientinfo.env

37 lines
1.4 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