Fix NGINX setup instructions
This commit is contained in:
parent
ee5265f4dd
commit
a02c8cf0bb
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue