Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to configure proxy as reverse HTTP proxy #2801

Merged
merged 2 commits into from
Oct 17, 2018

Commits on Oct 17, 2018

  1. Allow user to configure proxy as reverse HTTP proxy

    Users normally want to expose as few endpoints as possible. This patch
    enables configuring the pulsar proxy as a review http proxy, so that
    it can be used as a single endpoint for all pulsar and even non-pulsar
    HTTP services.
    
    The reverse proxy uses jetty's builtin implementation.
    
    It is configured in proxy.conf, in the form
    
    httpReverseProxy.NAME.path = '/path-on-pulsar-proxy-endpoint'
    httpReverseProxy.NAME.proxyTo = 'http://internal-server/some-app'
    
    where NAME is any user defined string. Multiple paths can be
    configured this way.
    ivankelly committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    8176389 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    49c03b9 View commit details
    Browse the repository at this point in the history