Fix NGINX setup instructions

quote-url-support
Thomas Sileo 2022-08-29 19:28:54 +02:00
rodzic ee5265f4dd
commit a02c8cf0bb
2 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -80,6 +80,8 @@ _RESIZED_CACHE: MutableMapping[tuple[str, int], tuple[bytes, str, Any]] = LFUCac
# TODO(ts):
# Next:
# - self-destruct + move support and actions/tasks for
# - doc for prune/move/delete
# - fix issue with followers from a blocked server (skip it?)
# - allow to share old notes
# - only show 10 most recent threads in DMs

Wyświetl plik

@ -136,6 +136,11 @@ server {
# [...]
}
# This should be oustside the `server` block
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
```
Optionally, you can serve static files using NGINX directly, with an additional `location` block.