diff --git a/doc/htdocs/configure.html b/doc/htdocs/configure.html index 498220eb..f7df8dfa 100644 --- a/doc/htdocs/configure.html +++ b/doc/htdocs/configure.html @@ -336,6 +336,29 @@ int(value, 0) (0 means Python guesses the base, so values like "0",

This path should be writable by the process permissions set for Gunicorn workers. If not specified, Gunicorn will choose a system generated temporary directory.

+ +
+

secure_scheme_headers

+ +

A dictionary containing headers and values that the front-end proxy +uses to indicate HTTPS requests. These tell gunicorn to set +wsgi.url_scheme to "https", so your application can tell that the +request is secure.

+ +

The dictionary should map upper-case header names to exact string +values. The value comparisons are case-sensitive, unlike the header +names, so make sure they're exactly what your front-end proxy sends +when handling HTTPS requests.

+ +

It is important that your front-end proxy configuration ensures that +the headers defined here can not be passed directly from the client.

+
@@ -549,28 +572,29 @@ the just-exited Worker.

  • group
  • umask
  • tmp_upload_dir
  • +
  • secure_scheme_headers
  • -
  • Logging