Tag: nginx

Linux, Windows

How To Force Redirect To HTTPS behind AWS ELB

Your web server is running on port 80 to listen http connections on AWS Ec2 instnace. After that configured AWS ELB to listen on HTTP and HTTPS protocols and forwarding all the requests to backend server on port 80 only. The Amazon Elastic Load Balancer (ELB) supports X-Forwarded-Proto header value include the protocol of application. …

Nginx

How to enable/disable gzip compression in nginx on a Plesk server?

Enabling gzip compression for a domain in Plesk In Plesk, go to Domains > example.com > Apache & nginx Settings. Add the following directives to the Additional nginx directives field: gzip on; gzip_disable “MSIE [1-6]\\.(?!.*SV1)”; gzip_proxied any; gzip_comp_level 5; gzip_types text/plain text/css application/javascript application/x-javascript text/xml application/xml application/rss+xml text/javascript image/x-icon image/bmp image/svg+xml; gzip_vary on; Note: This is an example. If needed, add other file …

CentOS, Linux

How to install Let’s Encrypt on CentOS 7 with Nginx

We have seen How to install Let’s Encrypt on CentOS 7 with Apache . Now we will see How to install Let’s Encrypt on CentOS 7 with Nginx. # yum install epel-release # yum update -y You will also need to have nginx installed and running. Install Let’s Encrypt Client # yum install certbot python2-certbot-nginx …

CentOS, CloudLinux, cPanel

Engintron installation and configuration

Nginx is a powerful opensource web server. Nginx can scale websites to millions of visitors. cPanel is a known word for the ones who are familiar with web hosting. cPanel is the leading and reliable hosting control panel around the globe. The easiest way to integrate Nginx on a cPanel/WHM server is Engintron. Engintron will …