-
-
Notifications
You must be signed in to change notification settings - Fork 16.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flask run
allows no way to run server on a unix socket
#1938
Comments
I don't think this really belongs in the Flask dev server. I recommend using a tool like |
The debugger is just a WSGI middleware, you can wrap your app with it and run with uWSGI. from werkzeug.debug import DebuggedApplication
app.debug = True
app.wsgi_app = DebuggedApplication(app.wsgi_app, evalex=True) http://werkzeug.pocoo.org/docs/0.11/debug/#enabling-the-debugger |
Would you accept a pull request implementing unix sockets in the Flask dev server? |
It's already merged in Werkzeug. |
You're saying that the ability to run the Flask dev server on a Unix socket is already in Werkzeug? I'm not finding that in the documentation. |
It's merged, not released. |
That's fantastic. Thank you for the information. I look forward to it. |
In our webapp, we deploy on a unix socket. We'd like to be able to do the same while debugging (since nginx etc. is already configured to handle that).
The text was updated successfully, but these errors were encountered: