[PATCH] lib: Refresh nginx/uwsgi configuration
Stephen Finucane
stephenfinucane at hotmail.com
Thu Sep 8 06:03:29 AEST 2016
On 06 Sep 22:37, Thomas Monjalon wrote:
> As stated in http://uwsgi-docs.readthedocs.io/en/latest/Nginx.html:
> "
> Unfortunately nginx is not able to rewrite PATH_INFO accordingly to
> SCRIPT_NAME. For such reason you need to instruct uWSGI to map specific
> apps in the so called “mountpoint” and rewrite SCRIPT_NAME and PATH_INFO
> automatically
> [...]
> ancient uWSGI versions used to support the so called “uwsgi_modifier1 30”
> approach. Do not do it. it is a really ugly hack
> "
>
> Replacing the uwsgi_modifier1 hack by a mount point seems to work.
>
> Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
I don't know enough about nginx to say yay or nay, but it makes sense
per the linked article and works on dpdk.org, so:
Reviewed-by: Stephen Finucane <stephenfinucane at hotmail.com>
...and merged.
Cheers :)
Stephen
More information about the Patchwork
mailing list