caddy: drop appsec WAF from sftpgo and immich to fix >10MB upload 403s

This commit is contained in:
2026-07-02 08:26:07 +00:00
parent 4f30cb18e4
commit fb9aaf1a94
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -128,7 +128,7 @@
max_size 8120MB max_size 8120MB
} }
route { route {
import security crowdsec
reverse_proxy http://sftpgo:8080 { reverse_proxy http://sftpgo:8080 {
header_up Host {http.request.host} header_up Host {http.request.host}
} }
@@ -170,7 +170,7 @@
max_size 1024MB max_size 1024MB
} }
route { route {
import security crowdsec
reverse_proxy http://immich_server:2283 { reverse_proxy http://immich_server:2283 {
header_up Host {http.request.host} header_up Host {http.request.host}
} }
+2 -2
View File
@@ -51,7 +51,7 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: "1.0" cpus: "0.6"
memory: 768M memory: 768M
logging: logging:
driver: "json-file" driver: "json-file"
@@ -68,7 +68,7 @@ services:
environment: environment:
CROWDSEC_LAPI_URL: "http://crowdsec:8080" CROWDSEC_LAPI_URL: "http://crowdsec:8080"
CROWDSEC_API_KEY: "${CROWDSEC_BOUNCER_KEY_EXPORTER}" CROWDSEC_API_KEY: "${CROWDSEC_BOUNCER_KEY_EXPORTER}"
POLL_INTERVAL_SECS: "120" POLL_INTERVAL_SECS: "300"
LISTEN_PORT: "9100" LISTEN_PORT: "9100"
GEOIP_CITY_DB: "/geoip/GeoLite2-City.mmdb" GEOIP_CITY_DB: "/geoip/GeoLite2-City.mmdb"
volumes: volumes: