7163fde724
now we can configure SFTPGo to accept or reject requests without the proxy header when the proxy protocol is enabled
15 lines
399 B
Text
15 lines
399 B
Text
[INCLUDES]
|
|
before = common.conf
|
|
|
|
[DEFAULT]
|
|
_daemon = sftpgo
|
|
|
|
[Definition]
|
|
|
|
# By default, first authenticate method is public_key and must be excluded from the filter to avoid false positives failed attempts
|
|
failregex = ^.*"sender":"connection_failed","client_ip":"<HOST>","username":".*","login_type":"password".*"}$
|
|
|
|
ignoreregex =
|
|
|
|
[Init]
|
|
journalmatch = _SYSTEMD_UNIT=sftpgo.service + _COMM=sftpgo
|