poise/application_nginx

Allow accessing the application endpoints with a prefix in the URL

Opened this issue · 0 comments

dggc commented

It would be nice if nginx could map accesses from "http://my_web_application/some_prefix/endpoint1" to "http://my_application_backend:8000/endpoint1".

This can be achieved by using "location prefix" instead of "location /" in the application proxy declaration.