Having successfully deployed a minimal Flask app with nginx+uWSGI, I am stumped by this.
from flask import Flask
from bsfdash.users import users
from bsfdash.dashboard import dashboard
from bsfdash.customs import customs
from bsfdash import app
if __name__ == '__main__':
app.register_blueprint(users)
app.register_blueprint(dashboard)
app.register_blueprint(customs)
app.run()
To confirm my nginx and uWSGI settings are correct, I tested with a simple "Hello World" Flask application with @app.route('/') that returns "Hi!" - It worked as expected.
However, The app shown above works as expected using the flask web-server on localhost:5000 - but does not route @dashboard.route('/') blueprint when called via uWSGI.
I have found zero information about deploying modular Flask applications containing Blueprints with uWSGI.
Why does this application work as a Flask web-server but is braindead through uWSGI?