455 Commits

Author SHA1 Message Date
benoitc
4e12ebe334 bump to 21.1.0 2023-07-18 14:41:05 +02:00
benoitc
547f8561d9 bump 21.0.1: fix doc 2023-07-17 23:19:49 +02:00
benoitc
b6eb01ba52 add readthedocs.yaml 2023-07-17 23:03:59 +02:00
benoitc
0304f006e6 add minitimal changelog 2023-07-17 21:36:31 +02:00
Benoit Chesneau
378f0d04ec bump to 21.0.0 2023-07-10 22:09:23 +00:00
Tero Saarni
d8c3b1490e Deprecate ssl_version option
This change defaults SSLContext to Python's ssl.create_default_context() and
marks ssl_version option as deprecated. The option value will be ignored and
warnign will be printed in stderr.

The ssl_version option was depending on old method of setting TLS min/max
version, which has not worked well anymore with modern Python versions.
2023-05-11 17:45:57 +03:00
Benoit Chesneau
f859de498a
Merge pull request #2634 from YingjieQiao/docs/cert_reqs
docs: add examples for cert-reqs
2023-05-11 10:09:44 +02:00
Benoit Chesneau
f955a0c18c
Merge pull request #2649 from Nordix/sslcontext
Update SSLContext handling
2023-05-11 09:51:37 +02:00
Benoit Chesneau
c829cc8a77
Merge pull request #2548 from zhan9san/1695-ignore-aborted-requests
Fixes #1695
2023-05-10 15:43:27 +02:00
Benoit Chesneau
506d014dd4
Merge pull request #2802 from fdemmer/2801-fix-logrecords
Fix LogRecord pre-formatting, closes #2801
2023-05-08 00:24:18 +02:00
Benoit Chesneau
e6647cf229
Merge pull request #2473 from AlexHill/patch-1 2023-05-07 23:07:53 +02:00
Florian Demmer
0b5c4aea99
Fix LogRecord pre-formatting, closes #2801 2023-05-07 22:46:10 +02:00
Benoit Chesneau
4a1c402e2c
Merge pull request #2384 from larribas/2066-statsd-socket
Allow reporting StatsD metrics over UDS sockets
2023-05-07 20:39:11 +02:00
Benoit Chesneau
db9de0175d
Merge branch 'master' into 1775-support-log-config-json 2023-05-07 16:16:56 +02:00
Benoit Chesneau
8a41cd2838
Merge pull request #2173 from julyclyde/master
Update faq.rst and fix technical mistake on ulimit
2023-05-07 15:55:58 +02:00
Klaas van Schelven
d04ddfd117 Docs: add link to configuration file
See #2136 (not a full solution, but at least one more path
to understanding added)
2023-02-08 12:04:53 +01:00
Benoit Chesneau
1efc5d91fa
irc is on libera 2022-12-21 10:54:06 +01:00
Benoit Chesneau
69c508ac6e
Merge pull request #2660 from tirkarthi/tirkarthi-patch-1
Fix psycogreen project link
2022-10-15 21:04:41 +02:00
Benoit Chesneau
54c8beb6ae
Merge pull request #2686 from jpmckinney/patch-1
docs: gthread is a sync worker
2022-10-15 21:03:59 +02:00
James McKinney
9f159f7cb6
docs: Add section for Gthread workers 2022-09-16 15:15:19 -04:00
Tero Saarni
ac8bc3a455 Regenerated rst docs
Signed-off-by: Tero Saarni <tero.saarni@est.tech>
2022-03-15 19:05:30 +02:00
Tero Saarni
6d70be2d1c Merge branch 'master' into sslcontext 2022-03-15 18:55:02 +02:00
usr3
99447b0827
Fix typo in deploy.rst 2022-03-13 14:41:33 +05:30
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
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