From bd733a7646be75c0bf6f136bb12bf2a8e8dc4883 Mon Sep 17 00:00:00 2001 From: Hritik Vijay <7457065+Hritik14@users.noreply.github.com> Date: Tue, 30 May 2023 21:55:21 +0530 Subject: [PATCH] Mention about sites-enabled directory --- docs/deploying/nginx.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/deploying/nginx.rst b/docs/deploying/nginx.rst index 6b25c073..fe0f4342 100644 --- a/docs/deploying/nginx.rst +++ b/docs/deploying/nginx.rst @@ -45,7 +45,8 @@ The nginx configuration is located at ``/etc/nginx/nginx.conf`` on Linux. It may be different depending on your operating system. Check the docs and look for ``nginx.conf``. -Remove or comment out any existing ``server`` section. Add a ``server`` +Remove or comment out any existing ``server`` section from ``/etc/nginx/nginx.conf`` +or default included config files at ``/etc/nginx/sites-enabled/``. Add a ``server`` section and use the ``proxy_pass`` directive to point to the address the WSGI server is listening on. We'll assume the WSGI server is listening locally at ``http://127.0.0.1:8000``.