I'm testing Gunicorn as an alternative to uWSGI. An Nginx reverse-proxy is set up in front of the Gunicorn instance. A consequence of not using uWSGI is I have to resort to using Nginx's proxy_pass instead of uwsgi_pass. With uwsgi_pass I could use uwsgi_param to overwrite the PATH_INFO and SCRIPT_NAME WSGI variables. proxy_pass has no equivalent directive. How do you set these WSGI variables for proxy_pass for a WSGI compliant application server such as Gunicorn?