@cPFence what are all services that cPFence monitors and restart them if OOM-killed?
dweb
Currently, Owl WatchDog in cPFence monitors and restarts the following services if they are OOM-killed or failed:
SSH CRON Rspamd Postfix Dovecot Pure-FTP MySQL Web Server (Apache, LiteSpeed, OLS, Nginx) DNS Main Control Panel AppCD Service
@cPFence Hey, quick question, but do we first install the cPFence on the server where Enhance Panel is and enable the webgui there, and just plain install it on all other servers? Thanks!
Dusan
The WebUI works only on the main control panel server, and yes, you’ll need to install cPFence individually on all your servers. You can find more info in our knowledgebase, and feel free to drop us a ticket if you need any help.
I just thought of something that would be cool to integrate in cPFence - image optimization. It could be a simple script like the one below that can be manually triggered on demand or automated with cron:
#!/bin/bash HOMEDIR="/full/path/to/website/homedir/" cd $HOMEDIR nice -n 19 find . -iname '*.jpg' -print0 | xargs -0 jpegoptim --max=82 --all-progressive --strip-all --preserve --totals --force nice -n 19 find . -iname '*.jpeg' -print0 | xargs -0 jpegoptim --max=82 --all-progressive --strip-all --preserve --totals --force nice -n 19 find . -iname '*.png' -print0 | xargs -0 optipng -o7 -preserve echo "Image compression done!"
Andrei
Thanks for the suggestion. We don’t plan to add something like this at the moment, but we appreciate you sharing the idea.
cPFence
I have a few questions to better understand cPFence and Enhance, perhaps you can easily answer them.
Is it possible that the WAF is somehow more strict or more responsive on Nginx compared to OLS? There seem to be a lot of false positives on a Nginx server when doing Elementor/Divi design stuff, specifically performing saves, requiring a bunch of repetitive whitelisting.
Is it possible that some features of cPFence (like the security headers?) are blocking any Nginx additional response headers to be set with add_header directives? Otherwise it could be the custom Enhance Nginx package that's doing weird stuff.
rdbf
1- Both OLS and NGINX use the same rule sets. If you run into any issues, drop us a ticket and we’ll get you sorted quickly.
2- If you want to override WP-AutoShield or add your own security headers, we recommend using this plugin: https://wordpress.org/plugins/headers-security-advanced-hsts-wp/
Just wanted to drop by and congratulate for the incredible product that is cPFence 😃 Keep up the good work!!
Orlando
We’re thrilled to have you on board as a happy client, really appreciate you taking the time to share your experience 🙂
@cPFence im also getting too much issues with Nginx & cPFence. i had to disable about 5 rules to allow basic operations in Elementor and Woo. i didn't had those previously when using different waf product.
dalet11
Please open a support ticket with the specific issues you're encountering, and we'll help you tweak the rules for smooth operation with Elementor and WooCommerce. This also helps us improve based on real-world usage.