Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed Mar 18, 2018
1 parent 37e0a50 commit 24de905
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions docs/reference/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,14 @@ file named ``nginx-compose.yml``.
nginx-proxy:
external: true
To build and run the web server we invoke.
If we build these containers the first time, we might have to create the network, since it is
declared as external:

.. code-block:: bash
$ docker network create nginx-proxy
To build and run the web server plus Let's Encrypt companion, we invoke:

.. code-block:: bash
Expand Down Expand Up @@ -353,9 +360,8 @@ Provide django-SHOP behind NGiNX
--------------------------------

Finally we want to run our **django-SHOP** instance behind the just configured NGiNX proxy.
For this we have to edit the file ``docker-compose.yml`` from above.

First locate the section ``wsgiapps``. There
For this we have to edit the file ``docker-compose.yml`` from above. There we change to following
lines:

* In section ``wsgiapp``, add the environment variables ``VIRTUAL_HOST``, ``VIRTUAL_PROTO``,
``LETSENCRYPT_HOST`` and ``LETSENCRYPT_EMAIL`` to subsection ``environment``, as shown below.
Expand Down

0 comments on commit 24de905

Please sign in to comment.