1
0
mirror of https://github.com/etesync/server synced 2024-11-22 08:48:07 +00:00

Test nginx config before restarting it

Tyler Flowers 2022-06-06 05:15:18 -07:00
parent 2b3f32f932
commit 6b248e63f4

@ -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
```