I was able to solve this the following way,
- I removed
sub_filter
directive from nginx config - I added
url_prefix
while registering flask blueprint object (url_prefix=/app/
) - For identifying static content, I prefixed my app uri (
static_path=/app/static
) - Updated routes_prefix_pathname to have app prefix (
routes_prefix_pathname=/app/dashapp/
)
@nedned, Thanks for sharing your thoughts on this.