mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
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):
|
# 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 a new issue