399 Commits

Author SHA1 Message Date
Florian Apolloner
ee7af1247b Added support to --bind to open file descriptors (#1809)
Fixes #1107
2018-11-16 20:21:13 +03:00
Jake
efdb5acdd0 Docs: Serving WSGI app modules from Gunicorn (#1817) 2018-11-16 20:11:22 +03:00
Ron DuPlain
6d76ed8e6c Provide guidance on X-Forwarded-For access log. (#1906)
The doc change introduced in #1037 is initially helpful but then internally
inconsistent. It correctly points out that X-Forwarded-For is no longer
used in setting REMOTE_ADDR (c4873681299212d6082cd9902740eef18c2f14f1),
but then confusingly indicates a solution using the X-Forwarded-For header.

The deployment doc provides a full configuration example which includes
proxy headers as set by nginx. What is missing, before this patch, is a
clear suggestion on how to make use of the header in Gunicorn's access
log.

Accordingly, remove the confusing suggestion and replace it with a drop-in
replacement for Gunicorn's default access log format.
2018-11-16 19:52:37 +03:00
Ron DuPlain
e5c11e8f8a Clarify log format usage of header & environment (#1907) 2018-10-28 23:38:51 +03:00
Arianit Uka
bb0b366b26 Fixed systemd documentation to properly setup gunicorn unix socket
The systemd files recommended in the docs do not work. The socket file disappears after the first request, or after the service is restarted. 

This commit updates the systemd files to include the correct settings
2018-10-12 13:07:38 -07:00
Ciaran Courtney
0ce857fced [closes #1863] Docs: Add /dev/shm as a convenient alternative to making your own tmpfs mount in fchmod FAQ (#1873) 2018-09-06 00:50:35 +02:00
Benoit Chesneau
91974f0f44 Merge branch 'pr-1724' 2018-09-04 12:19:30 +02:00
Benoit Chesneau
33162d190f fix broken redirection 2018-09-03 09:14:56 +02:00
Benoit Chesneau
8bc11ff632
use https for docs 2018-09-02 18:10:05 +02:00
Q_back
ab7541f767 Fixed jQuery not using https
Page stopped working on new browsers 
https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content

Blocked loading mixed active content “http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js”[Learn More]
gunicorn.org
Loading failed for the <script> with source “http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js”. gunicorn.org:182
[Show/hide message details.] ReferenceError: $ is not defined[Learn More]
2018-08-31 12:01:59 -07:00
Hugo
e974f30517 Drop support for Python 2
Co-Authored-By: Dustin Ingram <di@users.noreply.github.com>
Co-Authored-By: Berker Peksag <berker.peksag@gmail.com>
2018-08-01 15:31:17 +03:00
Michael Bishop
2ff595a02b "work" -> "worker" 2018-07-31 13:55:57 -07:00
Hugo
78208c8c32 Drop support for EOL Python 3.2 and 3.3 (#1839) 2018-07-29 14:07:36 +03:00
Randall Leeds
29f0394cdd Release version 19.9.0 2018-07-03 13:09:09 -07:00
Randall Leeds
3e265d4319 Regenerate settings documentation 2018-07-03 13:02:41 -07:00
Randall Leeds
c7c0f9db76 Update changelog 2018-07-03 13:00:31 -07:00
Diego Oliveira
557b91964c Merge branch 'master' into 1795-rename-async-module 2018-06-12 18:16:31 -03:00
Berker Peksag
21f0adc346
Fix AttributeError when --reload was not passed (#1806)
Fixes #1805
2018-06-11 22:04:08 +03:00
7
a64d712f7a Remove duplicated sections under Settings (#1804)
Fixes #1798
2018-06-10 02:46:41 +03:00
Berker Peksag
07dc716700
markup tweaks 2018-06-03 18:35:23 +03:00
Diego Oliveira
72dde4336d Fix style issues and revert some unrelated changes 2018-06-03 11:38:39 -03:00
Diego Oliveira
5a82e7c068 Change _async to base_async 2018-05-26 17:11:33 -03:00
Diego Oliveira
43e31c366b Fix gaiohttp worker 2018-05-26 10:42:15 -03:00
Patrick
9cf5b13f93 Labeled the name of the file in the sample (#1782)
The sample as-is was not clear about what file the configuration was to go in. 
This sample is to go into nginx.conf, but nginx as of 20180516 has
nginx.conf + conf.f/default.conf. This sample overrides all that into the single
file so being specific is better.
2018-05-19 11:29:13 +03:00
Berker Peksag
473ac62a2b Revert "Add test and update documentation"
This reverts commit eab1256052d7446359fb6f65279f9bebd18fafd4.
2018-05-06 18:10:53 +03:00
Berker Peksag
9320811f32 Fix markup in --log-syslog docs 2018-05-06 18:09:33 +03:00
Berker Peksag
eab1256052 Add test and update documentation 2018-05-06 18:05:54 +03:00
Randall Leeds
73cc860ead Release version 19.8.1 2018-04-30 11:37:09 -07:00
Randall Leeds
255c05ae8b Release version 19.8.0 2018-04-28 11:53:26 -07:00
Hasan Ramezani
b4b9b18f1a Improve capture_output setting documentation 2018-04-28 22:34:15 +04:30
Randall Leeds
325c6e53c3 Fix changelog typo 2018-04-28 00:54:43 -07:00
Randall Leeds
5050f2719a Regenerate settings documentation 2018-04-28 00:47:00 -07:00
Randall Leeds
68f42ef594 Update changelog 2018-04-28 00:45:32 -07:00
Randall Leeds
7fc0cb8844 Clean out 2017 changelog 2018-04-27 23:43:53 -07:00
Dmitry Dorofeev
dd78145132 Make WSGI app in run.rst Python 3 compatible (#1741)
Fixes #1737
2018-04-03 17:17:24 +03:00
Bruno Alla
d1f5268b15 Add extras_require for various worker types (#1718)
Fixes #1717
2018-03-08 17:19:44 +03:00
Randall Leeds
06e252f23e
Merge pull request #1705 from confiq/master
Better docs for statsd prefix
2018-02-20 11:01:57 -08:00
Edward Betts
fc64a43ec6 Correct spelling mistakes. 2018-02-19 22:00:41 +03:00
Igor Konforti
528d629806 link to more config added 2018-02-19 13:55:21 +02:00
Igor Konforti
aa9562624d less text is more... 2018-02-18 19:35:53 +02:00
Igor Konforti
992eaaac24 missing prefix for the statsd 2018-02-16 18:18:00 +02:00
Randall Leeds
b07532be75 Forbid contradictory secure scheme headers
When a request specifies contradictory secure scheme headers, raise a
parse error.
2018-01-10 12:10:35 -08:00
Martin Broadhurst
6171ac4885 Add --reuse-port to make use of SO_REUSEPORT optional (#1669)
Fixes #1603
2018-01-02 20:25:26 +03:00
Berker Peksag
2dd7321c90
Deprecate gaiohttp worker and document alternatives (#1569)
Fixes #1338
2017-10-31 07:30:41 +03:00
Dariusz Suchojad
e868c52997 Point to GitHub for usage questions. (#1613)
Closes #1611
2017-10-05 18:57:59 +03:00
Carl Johan Gustavsson
d0d1a1ca99 docs: Fix typo in environment variable name 2017-10-01 14:37:48 +03:00
Takuya Noguchi
2bcec7fd0c Fix reST format in docs 2017-09-18 07:15:37 +03:00
Takuya Noguchi
53ded2f9da Update Debian installation instructions 2017-09-16 17:48:36 +03:00
T N
6ad3d3c22c Update docs links (#1592) 2017-09-16 17:46:19 +03:00
Benoit Chesneau
60efb1041e Merge pull request #1528 from hramezani/redirect_accesslog_issue_1403
Redirect accesslog issue 1403
2017-08-22 21:17:59 +02:00