Skip to content

Instantly share code, notes, and snippets.

@churnd
Created June 25, 2020 00:31
Show Gist options
  • Save churnd/b1d2e157f139ba17f24816d67dc2a340 to your computer and use it in GitHub Desktop.
Save churnd/b1d2e157f139ba17f24816d67dc2a340 to your computer and use it in GitHub Desktop.
# BEGIN: Add proxy to RCE service
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Deny from all
Allow from all
</Proxy>
<LocationMatch "/rce">
ProxyPass http://127.0.0.1:3000 keepalive=On
ProxyPassReverse http://127.0.0.1:3000
SetEnv proxy-chain-auth On
ProxyAddHeaders Off
</LocationMatch>
SSLProxyEngine on
# END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment