Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
nginx x-forwarded-proto configuration explanation
  • Loading branch information
Stephen Delano committed Jun 22, 2012
1 parent fd5cd74 commit 914f495
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions source/administration/configuration.rst
Expand Up @@ -2996,6 +2996,27 @@ nginx['worker_processes']
nginx['worker_processes'] = 4
.. index::
triple: configuration; nginx; x_forwarded_proto

nginx['x_forwarded_proto']
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This value can be used to set the protocol (HTTP or HTTPS) of URLs
returned within API responses. It should be set to the protocol used
to connect to the Private Chef API by your clients.

*Default Value*:

.. code-block:: ruby
"https"
*Example*:
.. code-block:: ruby
nginx['x_forwarded_protocol'] = "http"
.. index::
triple: configuration; nrpe; allowed_hosts

Expand Down

0 comments on commit 914f495

Please sign in to comment.