Fix NGINX setup instructions
parent
ee5265f4dd
commit
a02c8cf0bb
|
@ -80,6 +80,8 @@ _RESIZED_CACHE: MutableMapping[tuple[str, int], tuple[bytes, str, Any]] = LFUCac
|
||||||
|
|
||||||
# TODO(ts):
|
# TODO(ts):
|
||||||
# Next:
|
# Next:
|
||||||
|
# - self-destruct + move support and actions/tasks for
|
||||||
|
# - doc for prune/move/delete
|
||||||
# - fix issue with followers from a blocked server (skip it?)
|
# - fix issue with followers from a blocked server (skip it?)
|
||||||
# - allow to share old notes
|
# - allow to share old notes
|
||||||
# - only show 10 most recent threads in DMs
|
# - 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.
|
Optionally, you can serve static files using NGINX directly, with an additional `location` block.
|
||||||
|
|
Loading…
Reference in New Issue