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

Replaced Daphne with Uvicorn in the description text, because the code examples use uvicorn

Marc Walter 2023-01-06 20:29:34 +01:00
parent 9ed1527cd8
commit ea16010afb

@ -78,7 +78,7 @@ server {
``` ```
Now we move this file to `/etc/nginx/sites-available` and symlink it to `/etc/nginx/sites-enabled`. Now we move this file to `/etc/nginx/sites-available` and symlink it to `/etc/nginx/sites-enabled`.
After restarting Nginx and launching Daphne (on port 8001), you should be able to surf to the same url as before and see "It works!". After restarting Nginx and launching Uvicorn (on port 8001), you should be able to surf to the same url as before and see "It works!".
``` ```
$ sudo cp etebase_nginx.conf /etc/nginx/sites-available/ $ sudo cp etebase_nginx.conf /etc/nginx/sites-available/
@ -109,7 +109,7 @@ upstream etebase {
``` ```
This will create a file socket at `/tmp/etebase_server.sock`. This will create a file socket at `/tmp/etebase_server.sock`.
Now, we change the way we run Daphne to use the same file socket. Now, we change the way we run Uvicorn to use the same file socket.
``` ```