mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2026-07-13 20:37:40 +00:00
caddy: drop appsec WAF from sftpgo and immich to fix >10MB upload 403s
This commit is contained in:
+2
-2
@@ -128,7 +128,7 @@
|
||||
max_size 8120MB
|
||||
}
|
||||
route {
|
||||
import security
|
||||
crowdsec
|
||||
reverse_proxy http://sftpgo:8080 {
|
||||
header_up Host {http.request.host}
|
||||
}
|
||||
@@ -170,7 +170,7 @@
|
||||
max_size 1024MB
|
||||
}
|
||||
route {
|
||||
import security
|
||||
crowdsec
|
||||
reverse_proxy http://immich_server:2283 {
|
||||
header_up Host {http.request.host}
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "1.0"
|
||||
cpus: "0.6"
|
||||
memory: 768M
|
||||
logging:
|
||||
driver: "json-file"
|
||||
@@ -68,7 +68,7 @@ services:
|
||||
environment:
|
||||
CROWDSEC_LAPI_URL: "http://crowdsec:8080"
|
||||
CROWDSEC_API_KEY: "${CROWDSEC_BOUNCER_KEY_EXPORTER}"
|
||||
POLL_INTERVAL_SECS: "120"
|
||||
POLL_INTERVAL_SECS: "300"
|
||||
LISTEN_PORT: "9100"
|
||||
GEOIP_CITY_DB: "/geoip/GeoLite2-City.mmdb"
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user