php-fpm

nginx 502 Bad Gateway

1.0 502 Bad Gateway After the update of Linux on the web server, the website would not open in the browser. Instead the following error was displayed. 502 Bad Gateway nginx/1.14.0 2.0 Solution First we check the nginx server. $ systemctl status nginx ● nginx.service – A high performance web server and a reverse proxy …

nginx 502 Bad Gateway Read More »

Nginx installation and configuration

The configuration is nginx HTTP server, PHP FastCGI Process Manager (PHP-FPM), and the Alternative PHP Cache (APC). Installation The first step is to download the nginx software from the Nginx website. If using the Ubuntu distribution, following are the steps, (i) Download the nginx signing keys from the Nginx website, $ wget http://nginx.org/keys/nginx_signing.key (ii) Add …

Nginx installation and configuration Read More »