Fix: Remove invalid rate_limit directive from Caddyfile
- Removed rate_limit directive which is not supported in Caddy - Caddyfile now uses only valid Caddy directives - This fixes the configuration error that was preventing Caddy from starting
This commit is contained in:
@@ -23,15 +23,6 @@ stargirlnails.de {
|
|||||||
Strict-Transport-Security "max-age=31536000; includeSubDomains"
|
Strict-Transport-Security "max-age=31536000; includeSubDomains"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Rate Limiting
|
|
||||||
rate_limit {
|
|
||||||
zone static {
|
|
||||||
key {remote_host}
|
|
||||||
events 10
|
|
||||||
window 1m
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Gzip-Kompression
|
# Gzip-Kompression
|
||||||
encode gzip
|
encode gzip
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user