Fix doc formatting
This commit is contained in:
parent
c5c6c4ab0c
commit
0b207966f8
|
@ -149,23 +149,26 @@ and/or Nginx init files several options. Example:
|
|||
.. note::
|
||||
Nginx natively includes support for upstream servers speaking the uwsgi protocol since version 0.8.40.
|
||||
To improve performances, you can switch from a TCP socket to an Unix Domain Socket by editing
|
||||
``llng-server.yaml`` and adapting Nignx configuration files:
|
||||
.. code-block:: ini
|
||||
``llng-server.yaml``:
|
||||
|
||||
uwsgi:
|
||||
plugins: psgi
|
||||
socket: /tmp/uwsgi.sock
|
||||
.. code-block:: ini
|
||||
|
||||
.. code-block:: nginx
|
||||
uwsgi:
|
||||
plugins: psgi
|
||||
socket: /tmp/uwsgi.sock
|
||||
|
||||
# OR TO USE uWSGI
|
||||
include /etc/nginx/uwsgi_params;
|
||||
uwsgi_pass unix:///tmp/uwsgi.sock;
|
||||
uwsgi_param LLTYPE psgi;
|
||||
uwsgi_param SCRIPT_FILENAME $document_root$sc;
|
||||
uwsgi_param SCRIPT_NAME $sc;
|
||||
# Uncomment this if you use Auth SSL:
|
||||
#uwsgi_param SSL_CLIENT_S_DN_CN $ssl_client_s_dn_cn;
|
||||
and adapting Nignx configuration files:
|
||||
|
||||
.. code-block:: nginx
|
||||
|
||||
# OR TO USE uWSGI
|
||||
include /etc/nginx/uwsgi_params;
|
||||
uwsgi_pass unix:///tmp/uwsgi.sock;
|
||||
uwsgi_param LLTYPE psgi;
|
||||
uwsgi_param SCRIPT_FILENAME $document_root$sc;
|
||||
uwsgi_param SCRIPT_NAME $sc;
|
||||
# Uncomment this if you use Auth SSL:
|
||||
#uwsgi_param SSL_CLIENT_S_DN_CN $ssl_client_s_dn_cn;
|
||||
|
||||
|
||||
Protect a PSGI application
|
||||
|
|
Loading…
Reference in New Issue
Block a user