483 Commits

Author SHA1 Message Date
Krystian
e5a97150c9
fix chdir documentation typo (#2656) 2022-02-04 08:11:51 +11:00
Kian-Meng Ang
cf3619f831 Fix typos 2022-01-14 23:34:02 +08:00
James McKinney
141a8f3d77
docs: gthread is a sync worker 2021-11-12 13:03:20 -05:00
Karthikeyan Singaravelan
3a6649a9ef
Fix link 2021-09-27 16:09:50 +05:30
Tero Saarni
5a581c0b14 Update SSLContext handling
* Change deprecated ssl.wrap_socket() to SSLContext.wrap_context().
* Add new server hook to allow user to create custom SSLContext.
* Updated the documentation.

Signed-off-by: Tero Saarni <tero.saarni@est.tech>
2021-09-12 17:39:06 +03:00
yingjie
0215f5dc36 docs: add examples for cert-reqs 2021-08-26 22:41:12 +08:00
Andrey
daacf39c3f
Improve access-log-format documentation section
Added more clearly info about user name identifier (u). That will save a bit of time for developers due log configuration, like this guy https://stackoverflow.com/questions/51660511/gunicorn-access-logs-shows-empty-user
2021-08-06 10:17:15 +03:00
Jack Zhang
90ef9a6a94 Add nginx documentation for proxy_ignore_client_abort 2021-06-10 10:40:13 +08:00
Jack Zhang
917ebcdd57 Fixes #1695 2021-03-25 22:31:58 +08:00
Daan Luttik
3b8ce3df1f
Added a line to the documentation to further explain the use of logconfig_dict
Added a line to make the question "how to use `logconfig_dict`" way easier to answer.
2021-02-16 15:54:49 -08:00
Randall Leeds
01f5d4dd0c Remove 2020 unreleased changelog 2021-02-15 20:00:25 -08:00
Randall Leeds
1cfb59caaa Fix changelog lint 2021-02-15 20:00:13 -08:00
Randall Leeds
6fbe6a115b Clarify grammar in FAQ about worker restarts
Noticed by @guettli on GitHub, this sentence was likely supposed to say
that workers may "be killed" and "start up", where "to start up" is a
verb phrase while "startup" is a single word noun. Clarify by changing
this to read "to stop and start".
2021-02-15 18:23:59 -08:00
Benoit Chesneau
426fe70a54
link to 2021 2021-02-12 22:57:48 +01:00
Benoit Chesneau
61ccfd6c38 bump to 20.1.0 2021-02-12 22:43:44 +01:00
Benoit Chesneau
d1f0f11b7b fix inline code syntax in news 2021-01-08 13:55:28 +01:00
Benoit Chesneau
f87882e4ab add an empty line in news.rst 2021-01-08 12:30:31 +01:00
Benoit Chesneau
7a79808d96 update changeslog 2021-01-08 12:21:46 +01:00
Adam Johnson
dad99a1bd4 Update gunicorn_ext.py 2021-01-06 03:14:31 +02:00
Adam Johnson
3273492811 Improve settings documentation
I was reading the documentation to configure another application successfully deployed with Gunicorn, and thought the documentation here could be improved a bit for clarity.

* Use code highlighting for the names, to indicate they are the names to use in the Python configuration file.
* Spell out the CLI flags and defaults with "Command line" and "Default" prefixes so it's clear what these are
* Consistently use Python syntax for the defaults, so the types may be more easily understood.
* Split multiple CLI flags with "or" rather than a comma, for clarity and easier copy-paste.
* Improve some descriptions, such as for ``raw_env`` and a header for "Server Hooks".
2021-01-06 03:14:31 +02:00
Randall Leeds
03c642e709
Merge pull request #2480 from kofrezo/update_docs_install
Update Debian and Ubuntu distribution information
2020-12-21 11:55:04 -05:00
Daniel Kröger
a4407abfa5 Default to Python 3 version of gunicorn in Stretch 2020-12-21 15:59:11 +01:00
Daniel Kröger
00e73b7e94 Update Debian and Ubuntu distribution information
- Recommend latest (supported) Debian and Ubuntu versions
- Update provided versions of gunicorn in Debian and Ubuntu
2020-12-21 15:59:02 +01:00
Nikita Sobolev
28a4c1b25e Typo fixed in the AsyncIO docs 2020-12-20 05:45:46 +02:00
Randall Leeds
37994e1422 Remove the --log-config-dict flag
There is no support for decoding any dictionary supplied on the command
line. The only way to supply a dictionary logging config is through the
configuration file.

Close #1909.
2020-12-18 20:49:11 -05:00
Alex Hill
d8a1256065
Document that gthread also uses worker_connections
The `ThreadWorker` uses `worker_connections` it in its run loop to limit how many connections are accepted.
2020-12-10 16:10:50 +08:00
Gastón Avila
b80a329354
Correction on default value for config file (#2408)
Running gunicorn project.app while having a file called gunicorn.conf.py
in the current directory will read configuration from that file and actually fail
if the file raises an exception.
2020-08-22 20:13:02 +03:00
larribas
15abac7e81 Allow specifying a UDS socket address through --statsd-host 2020-07-19 20:11:09 +02:00
Sanjay
4b9afb47bd
Probably a typo 2020-06-08 11:38:20 +05:30
Dustin Ingram
6aab4decde Add additional missing docs 2020-05-15 03:30:08 +03:00
Ewoud Kohl van Wijngaarden
4ababc368b
Correct systemd socket activation example 2020-05-05 12:49:22 +02:00
Randall Leeds
bac7f0300b
Merge pull request #1450 from hramezani/issue_1359
Specify wsgi_app in config
2020-05-03 16:03:07 -07:00
Hasan Ramezni
57a9e2eb7e Specify wsgi_app in config #1359. 2020-05-01 01:11:21 +02:00
Randall Leeds
b2dc036463
Merge pull request #2292 from di/document-infinite-timouts
Document --timeout 0
2020-04-22 11:09:20 -07:00
Randall Leeds
ee685e197b Merge pull request #2054 from rcoup/2052-print-config 2020-04-20 12:40:57 -07:00
Dustin Ingram
57b8cdffae
Document --timeout 0 2020-03-16 17:29:07 -05:00
Randall Leeds
7d8c92f48a
Merge pull request #2253 from kmichel-sereema/2247-document-environment-variables
Document environment variables and $PORT
2020-01-31 09:42:16 -08:00
Kevin Michel
83b78e09c1 Document the default name and path for the configuration file 2020-01-31 09:48:14 +01:00
Kevin Michel
a648f8a838 Document how environment variables impact configuration 2020-01-31 09:48:14 +01:00
Kevin Michel
c82996f791 Add documentation for the $PORT environment variable 2020-01-30 15:34:37 +01:00
Anmar85
d307045984
Add milliseconds option to request_time in access_log (#2218)
Add milliseconds option to request_time in access_log
2020-01-30 15:29:25 +01:00
Brett Randall
2ec7493bcb
Updated requires Python to >= 3.5. 2020-01-01 12:58:43 +11:00
monobaila
cfc93ad701 Update FAQ - Workers Silently Killed. 2019-12-15 09:31:16 +01:00
Wesley Ellis
5a57d595c5 Fix sample command syntax highlighting in run.rst
Extra `:` was causing the syntax highlighting to mess up, resulting in the docs containing the `..code-block:: text` markup
2019-12-14 07:01:56 +03:00
benoitc
5d0c778300 bump to 20.0.4 2019-11-26 20:38:04 +01:00
benoitc
f646bdee39 fix bad cherry-picking 2019-11-25 23:15:22 +01:00
benoitc
8b64aaedd5 changelog for the 20.0.3 2019-11-25 23:05:10 +01:00
benoitc
b4e52c181a make config doc more explicit
explicit what we mean by "not need to be importable".
2019-11-25 22:44:25 +01:00
benoitc
9538358511 config file extension should be a python extension
This change make it clear what is configuration file for Gunicorn.
Using a filename with an extension different than a python extension
was never supported. Also it gives us some room for a proper config file.
2019-11-25 22:44:25 +01:00
Randall Leeds
20774b8331 Remove support for bdist_rpm 2019-11-24 17:44:47 +01:00