Building Appweb with Proxy Support

Appweb includes support for proxying HTTP requests on Unix like systems. However it is not enabled by default to minimize the security surface. If you wish to use the Proxy module, you need to enable it and rebuild Appweb.

To build Appweb with Proxy support via MakeMe, use the following:

./configure --with proxy

If you are building with make, use:


Proxy Configuration

There is no default configuration for Proxy in the supplied appweb.conf. You will need to add directives to your appweb.conf once Appweb is built with Proxy support. The Proxy handler is configured via the ProxyConnect configuration directive.

For example:

<Route ^/proxy/(.*)$>
    Reset pipeline
    SetHandler proxyHandler
    Prefix /proxy

© Embedthis Software. All rights reserved.