the-bastion/etc/sudoers.d/osh-bastion-http-proxy
Stéphane Lesimple fde20136ef
Initial commit
2020-10-20 14:30:27 +00:00

3 lines
257 B
Text

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 *