waitress-serve Command Examples

Pure Python WSGI HTTP Server. More information: https://docs.pylonsproject.org/projects/waitress/en/latest/runner.html.

waitress-serve {{import.path:wsgi_func}}

waitress-serve --listen={{localhost}}:{{8080}} {{import.path:wsgi_func}}

waitress-serve --unix-socket={{path/to/socket}} {{import.path:wsgi_func}}

waitress-serve --threads={{4}} {{import.path:wsgifunc}}

waitress-serve --call {{import.path.wsgi_factory}}

waitress-serve --url-scheme={{https}} {{import.path:wsgi_func}}