Flask on nginx + uWSGI returns a 404 error unless the linux directory exists
问题 This might be kind of a strange problem, but I'm not too experienced with these things and I don't know how to search for this kind of error. I have a server configured with nginx and uWSGI. Everything runs fine, no errors in the logs that I can see. However, when I'm executing the below code: from flask import Flask app = Flask(__name__) @app.route('/test/') def page1(): return 'Hello World' @app.route('/') def index(): return 'Index Page' I can not view http://ezte.ch/test/ UNLESS the /test