| Description: | UWSGI gateway module formod_proxy |
|---|---|
| Status: | Extension |
| Module Identifier: | proxy_uwsgi_module |
| Source File: | mod_proxy_uwsgi.c |
| Compatibility: | Available in version 2.4.30 and later |
This modulerequires the service ofmod_proxy. It provides support for theUWSGI protocol.
Thus, in order to get the ability of handling the UWSGI protocol,mod_proxy andmod_proxy_uwsgi have to be present in the server.
Do not enable proxying until you havesecured your server. Open proxy servers are dangerous both to your network and to the Internet at large.
Remember, in order to make the following examples work, you have to enablemod_proxy andmod_proxy_uwsgi.
ProxyPass "/uwsgi-bin/" "uwsgi://localhost:4000/"
The balanced gateway needsmod_proxy_balancer and at least one load balancer algorithm module, such asmod_lbmethod_byrequests, in addition to the proxy modules listed above.mod_lbmethod_byrequests is the default, and will be used for this example configuration.
ProxyPass "/uwsgi-bin/" "balancer://somecluster/"<Proxy balancer://somecluster> BalancerMember uwsgi://localhost:4000 BalancerMember uwsgi://localhost:4001</Proxy>
Copyright 2025 The Apache Software Foundation.
Licensed under theApache License, Version 2.0.