mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -04:00
An SSO solution for Nginx using the auth_request module. Vouch Proxy can protect all of your websites at once. Vouch Proxy supports many OAuth and OIDC login providers and can enforce authentication to Google, GitHub, Okta and many more. WWW: https://github.com/vouch/vouch-proxy
19 lines
405 B
Bash
19 lines
405 B
Bash
#!/bin/sh
|
|
|
|
# PROVIDE: vouchproxy
|
|
# REQUIRE: NETWORKING
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="vouchproxy"
|
|
rcvar="vouchproxy_enable"
|
|
|
|
pidfile="/var/run/${name}.pid"
|
|
command="/usr/sbin/daemon"
|
|
command_args="-P ${pidfile} -r -f -o /var/log/${name}.log %%PREFIX%%/bin/vouch-proxy"
|
|
|
|
load_rc_config $name
|
|
: ${vouchproxy_enable:=NO}
|
|
: ${vouchproxy_env:="VOUCH_CONFIG=%%PREFIX%%/etc/vouch-proxy/config.yml"}
|
|
|
|
run_rc_command "$1"
|