question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple WSGI mounts

See original GitHub issue

Hello, I’m new to fastapi and im trying to use WSGIMiddleware to connect to a full flask app (With multiple routes) and so far i can just access to it’s main route.

i’m using app.mount to run my app as “/menu” but it just run “/” set on flask app.mount("/menu", WSGIMiddleware(flask_app))

In case you need i can provide more code or even i can explain in spanish if you need more in-depth explanation.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
raphaelauvcommented, Nov 27, 2020

@JoseMoreville could you please close the issue, thank you

0reactions
tiangolocommented, Dec 27, 2020

Thanks for the help here everyone! 👏 🙇

Thanks for reporting back and closing the issue 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use multiple WSGI mount points in Apache with an Nginx ...
I am trying to set up multiple virtual hosts on the same server with Nginx and Apache and have run into a curious...
Read more >
Configuration Guidelines — mod_wsgi 4.9.4 documentation
If you need to mount multiple WSGI applications, the directives can be listed more than once. When this occurs, those occuring first are...
Read more >
Multiple Flask apps in Windows Apache - Google Groups
Hi, I want to host multiple Flask apps through Apache in the same Windows 10 server. I want each app to be running...
Read more >
Running Multiple Django Projects via WSGI Middleware
Instead of mounting Django's WSGI module directly on Gunicorn, we'll create a middleware that chooses which Django project to mount ...
Read more >
How to mount a Flask app under a URL prefix (or really, any ...
Application dispatching is the process of combining multiple Flask applications on the WSGI level. Which sounds like it's once again a more ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found