Caddy: adjusted ratelimting
This commit is contained in:
parent
c53223dd7b
commit
c7304784b9
@ -186,7 +186,7 @@
|
|||||||
not path /css/* /js/* /fonts/* /browserconfig.xml /android-chrome* /favicon* /logo* /lp.svg /robots.txt /safari* /site.webmanifest /pic/*
|
not path /css/* /js/* /fonts/* /browserconfig.xml /android-chrome* /favicon* /logo* /lp.svg /robots.txt /safari* /site.webmanifest /pic/*
|
||||||
}
|
}
|
||||||
rate_limit @notstatic {remote.ip} 2r/s 60000 500
|
rate_limit @notstatic {remote.ip} 2r/s 60000 500
|
||||||
rate_limit @notstatic {remote.ip} 30r/m 300000 500
|
rate_limit @notstatic {remote.ip} 45r/m 300000 500
|
||||||
reverse_proxy {{ oracle4_private_ip }}:8883 {
|
reverse_proxy {{ oracle4_private_ip }}:8883 {
|
||||||
transport http {compression off}
|
transport http {compression off}
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
setup:
|
setup:
|
||||||
oracle4:
|
oracle4:
|
||||||
- nitter
|
- caddy
|
||||||
|
|
||||||
compose:
|
compose:
|
||||||
oracle4:
|
oracle4:
|
||||||
- nitter
|
- caddy
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user