diff --git a/pages/linux/gunicorn.md b/pages/common/gunicorn.md similarity index 92% rename from pages/linux/gunicorn.md rename to pages/common/gunicorn.md index eaeaa68d83..443f9d9171 100644 --- a/pages/linux/gunicorn.md +++ b/pages/common/gunicorn.md @@ -1,6 +1,7 @@ # gunicorn > Python WSGI HTTP Server. +> More information: . - Run Python web app: diff --git a/pages/osx/gunicorn.md b/pages/osx/gunicorn.md deleted file mode 100644 index eaeaa68d83..0000000000 --- a/pages/osx/gunicorn.md +++ /dev/null @@ -1,27 +0,0 @@ -# gunicorn - -> Python WSGI HTTP Server. - -- Run Python web app: - -`gunicorn {{import.path:app_object}}` - -- Listen on port 8080 on localhost: - -`gunicorn --bind {{localhost}}:{{8080}} {{import.path:app_object}}` - -- Turn on live reload: - -`gunicorn --reload {{import.path:app_object}}` - -- Use 4 worker processes for handling requests: - -`gunicorn --workers {{4}} {{import.path:app_object}}` - -- Use 4 worker threads for handling requests: - -`gunicorn --threads {{4}} {{import.path:app_object}}` - -- Run app over HTTPS: - -`gunicorn --certfile {{cert.pem}} --keyfile {{key.pem}} {{import.path:app_object}}`