secure openlitespeed

h87

New Member
#1
running openlitespeed on standlone linux server, already changed ssh port, added modsecurity.

im looking for something to add to server to secure and monitor it.. any ideas?
 

h87

New Member
#2
ok so im running monit to monitor services but only put it into alert mode, these are my configs, was thinking also adding csf firewall ?

#openlitespeed file
check process OpenLitespeed with pidfile /tmp/lshttpd/lshttpd.pid
start program = "/usr/local/lsws/bin/lswsctrl start"
stop program = "/usr/local/lsws/bin/lswsctrl stop"
if cpu usage > 25% for 5 cycles then alert
if failed host site.comu port 80 protocol http then alert
if failed host site.com port 443 protocol https then alert

#mariadb file
# new check
check process mysql with pidfile /run/mysqld/mysqld.pid
start program = "/usr/sbin/service mysql start" with timeout 60 seconds
stop program = "/usr/sbin/service mysql stop"
if failed unixsocket /run/mysqld/mysqld.sock then alert
 
Top