From 2e5b67f897c797f3859262d209519054c74518fb Mon Sep 17 00:00:00 2001 From: minihoot <70825884+minihoot@users.noreply.github.com> Date: Sun, 18 Jan 2026 21:36:50 +1100 Subject: [PATCH] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6cd191f..bf381ca 100644 --- a/README.md +++ b/README.md @@ -176,11 +176,13 @@ sudo systemctl status django # Optional but recommended things 17. -Optional, but recommended: using gunicorn instead of runserver +Using gunicorn instead of runserver + Run `pip3 install gunicorn` + See if it works: `python3 -m gunicorn closedverse.wsgi --bind 127.0.0.1:8000`. If it does, edit the systemd service to use gunicorn instead of runserver. -18. +19. Reverse proxying using apache2 (If you use nginx, you can lookup a tutorial) Run `sudo a2enmod proxy proxy_fcgi proxy_http`, `cd /etc/apache2/sites-available` then `sudo nano cedar-django.conf` @@ -199,7 +201,7 @@ Paste this in: ``` then run `sudo a2ensite cedar-django` and `sudo systemctl restart apache2` -Make sure apache2 listens on port 80. It does by default. +Make sure apache2 listens on port 80. # FAQ Q: "I want SSL!"