chore: mention nginx mapping in asgi documentation
Some checks failed
Test & Docs / tests (postgresql, 3.10) (push) Has been cancelled
Test & Docs / tests (postgresql, 3.12) (push) Has been cancelled
Test & Docs / lint (push) Has been cancelled
Test & Docs / docs (push) Has been cancelled

Co-authored-by: David Larlet <david@larlet.fr>
This commit is contained in:
Yohan Boniface 2025-02-07 16:25:34 +01:00
parent 76c13a61a6
commit 815ff046ff

View file

@ -22,6 +22,15 @@ location / {
} }
``` ```
Also add this mapping for the `$connection_upgrade` variable:
```
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
```
## Uvicorn ## Uvicorn
Uvicorn must be installed in the umap virtualenv: Uvicorn must be installed in the umap virtualenv: