From 16a0ae327505290c107d36c238cab8525274f8f5 Mon Sep 17 00:00:00 2001 From: Simon Vandevelde Date: Sat, 26 Sep 2020 16:09:26 +0200 Subject: [PATCH] Fix some commands --- Production-setup-using-uWSGI-and-Nginx.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Production-setup-using-uWSGI-and-Nginx.md b/Production-setup-using-uWSGI-and-Nginx.md index e68f842..468b035 100644 --- a/Production-setup-using-uWSGI-and-Nginx.md +++ b/Production-setup-using-uWSGI-and-Nginx.md @@ -98,7 +98,7 @@ After restarting Nginx and launching uWSGI (on port 8001), you should be able to sudo cp etesync_nginx.conf /etc/nginx/sites-available/ sudo ln -s /etc/nginx/sites-available/etesync_nginx.conf /etc/nginx/sites-enabled/etesync_nginx.conf systemctl restart nginx -uwsgi --socket :8001 --module etesync_server.wsgi +uwsgi --socket :8001 --module etesync_server.wsgi --virtualenv venv ``` If you encounter any errors, the Nginx log is located in `/var/log/nginx/error.log`. @@ -143,7 +143,7 @@ Restart Nginx and check if everything still works. ``` systemctl restart nginx -uwsgi --ini uwsgi.ini +sudo uwsgi --ini uwsgi.ini # has to be executed as root ``` ### That's it!