the-bastion/etc/sudoers.d/osh-bastion-http-proxy

4 lines
257 B
Text
Raw Normal View History

2020-10-16 00:32:37 +08:00
Defaults:proxyhttp env_keep += "PROXY_POST_DATA PROXY_ACCOUNT_PASSWORD REMOTE_ADDR REMOTE_PORT SERVER_ADDR SERVER_PORT REQUEST_URI HTTP_USER_AGENT"
proxyhttp ALL=(%bastion-users) NOPASSWD:/usr/bin/env perl -T /opt/bastion/bin/proxy/osh-http-proxy-worker *