mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2025-02-06 10:05:27 -05:00
set a max connection limit to synapse from nginx
This commit is contained in:
parent
cdcd278394
commit
27934d8d58
@ -77,7 +77,8 @@ http {
|
|||||||
aio_write on;
|
aio_write on;
|
||||||
|
|
||||||
upstream backend {
|
upstream backend {
|
||||||
server [::1]:8008 fail_timeout=1s;
|
zone backend 32k;
|
||||||
|
server [::1]:8008 max_conns=4096 fail_timeout=1s;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user