Install Web Server (NGINX), Programming Language (PHP), Database (MariaDB) to provide web server services. NGINX + PHP + MariaDB (MySQL) is a software group typically used to serve dynamic websites and web applications. The install version introduces both CentOS’s default Repo and an external Repo where you can install the latest version. CentOS’s default repo is more secure because it is released after testing the safety of the version, but it takes some time to reflect the latest version. The external repo features the latest version quickly. Which version you use depends on your discretion, especially depending on the final application you want… [Read More]
Nginx
Comprehensive Guide: Set Up Nginx as a Caching Reverse Proxy on Ubuntu
Apache has built his reputation over a long period and considered to be a most favorite web server. That was due to its proven ability to deal huge traffic and it’s module library that extends its functional as and when needed. But Apache has a weakness and lacks in speed. On the other hand, Nginx is a comparatively new entrant in the market or more precisely, Nginx is not that aged as Apache but it has established itself for speed, reliability, less resource hungry and its ability to deal Reddit traffic effect. We have stats of 2016 showing the market… [Read More]
How to fix 504 gateway time out Nginx
The Nginx web server is a full-blown web server that has great potential to deal with huge traffic and especially Reddit type effect. Apart from a web server, Nginx can also be configured as a proxy server. And this configuration is one of the famous and widely used features. For example, when working with php-fpm and other dynamic language modules. When Nginx is configured to act as proxy server, in such mode one could face an error 504 gateway timeout Nginx. In our today’s article, we will try to understand why it arises and how to deal with it. We will discuss… [Read More]