diff --git a/Production-setup-using-Nginx.md b/Production-setup-using-Nginx.md index eb0dc01..0c36267 100644 --- a/Production-setup-using-Nginx.md +++ b/Production-setup-using-Nginx.md @@ -83,6 +83,7 @@ After restarting Nginx and launching Daphne (on port 8001), you should be able t ``` $ sudo cp etebase_nginx.conf /etc/nginx/sites-available/ $ sudo ln -s /etc/nginx/sites-available/etebase_nginx.conf /etc/nginx/sites-enabled/etebase_nginx.conf +$ nginx -t $ systemctl restart nginx $ uvicorn etebase_server.asgi:application --port 8001 --host 0.0.0.0 ``` @@ -112,6 +113,7 @@ Now, we change the way we run Daphne to use the same file socket. ``` +$ nginx -t $ systemctl restart nginx $ uvicorn etebase_server.asgi:application --uds /tmp/etebase_server.sock ```