-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathspoe-agent.conf
More file actions
29 lines (25 loc) · 901 Bytes
/
spoe-agent.conf
File metadata and controls
29 lines (25 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
# The SPOE agent definition
[exapps-spoe]
spoe-agent exapps-agent
messages exapps_msg
option var-prefix exapps
timeout hello 10s
timeout idle 1m
timeout processing 30s
use-backend agents
spoe-message exapps_msg
event on-frontend-http-request
args path=path headers=req.hdrs client_ip=src pass_cookie=req.cook('oc_sessionPassphrase')
[exapps-bruteforce-protection-spoe]
spoe-agent exapps-agent
messages exapps_response_status_msg
option var-prefix exapps
timeout hello 10s
timeout idle 1m
timeout processing 30s
use-backend agents
spoe-message exapps_response_status_msg
event on-http-response
args status=status client_ip=var(txn.exapps.true_client_ip) statuses_to_trigger_bp=var(txn.exapps.statuses_to_trigger_bp)