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
|
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}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user