0
0

Caddy: adjusted ratelimting

This commit is contained in:
Opnxng 2023-11-07 13:29:33 +08:00
parent c53223dd7b
commit c7304784b9
2 changed files with 3 additions and 3 deletions

View File

@ -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}
} }

View File

@ -1,10 +1,10 @@
setup: setup:
oracle4: oracle4:
- nitter - caddy
compose: compose:
oracle4: oracle4:
- nitter - caddy
# ---------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------