NGINX

nginx nodejs configuration - Nginx Configuration file example for NodeJS App

Nginx Configuration file example for NodeJS App

Nginx Configuration file example for NodeJS App: server { listen 80; server_name domain.com; # redirect everything to https return 301 ; } server { listen 443 ssl; ssl on; ssl_certificate /etc/letsencrypt/live/domain.com/fullchain.pem;...

image 35 - 406 Not Acceptable Nginx error in cPanel/WHM

406 Not Acceptable Nginx error in cPanel/WHM

406 Not Acceptable Nginx error means that a ModSecurity rule was triggered. nginx error log: 2022/11/25 09:17:49 [error] 26611#26611: *123 [client 31.3.155.127] ModSecurity: Access denied with code 406 (phase 2). Matched “Operator Ge' with...

what is nginx - NGINX Configuration for Sendy

NGINX Configuration for Sendy

Having recently migrated from Apache 2 to NGINX (with PHP-FPM) for a site that included Sendy, I thought it would be worth posting the configuration required in order for it to work. Sendy natively has an .htaccess file and some simple rules in...