mirror of
https://github.com/etesync/server
synced 2024-11-22 08:48:07 +00:00
Replaced Daphne
with Uvicorn
in the description text, because the code examples use uvicorn
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.
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user