Start by creating the server and installing the project conventionally. After it's been deployed and you confirm that it works you can proceed.
Install deployer as a non-dev dependency and push your changes:
composer install deployer/deployer
# Fail2Ban filter to ban wordpress exploit bots | |
[Definition] | |
failregex = <HOST> .* "(HEAD|GET|POST) .*\/(wp-admin|wp-login\.php|wp-cfg|wp-includes\.php|wp-includes|wp\/|wp-.*\.php|include\/sort\.php|bak\.zip|\.env).* HTTP/.*" | |
ignoreregex = | |
datepattern = {^LN-BEG}%%ExY(?P<_sep>[-/.])%%m(?P=_sep)%%d[T ]%%H:%%M:%%S(?:[.,]%%f)?(?:\s*%%z)? | |
^[^\[]*\[({DATE}) |
Start by creating the server and installing the project conventionally. After it's been deployed and you confirm that it works you can proceed.
Install deployer as a non-dev dependency and push your changes:
composer install deployer/deployer