NGINX configuration examples: NGINX configuration examples for serving static and dynamic content, load balancing traffic, and implementing caching.
Pre-requisite : 1. Docker must be installed. 2. Docker-compose must be installed. Steps: Pull “nginx” and “php-fpm” docker images docker pull nginx:latestdocker pull php:7.1-fpm (Nginx latest image is recommended and for PHP choose the specific version that your code supports) Firstly, we will launch temporary docker for nginx We are copying nginx configuration files into our system (afterwards … Read more How to: Dockerize NGINX-PHP application
You must be wondering that you have heard of Nginx as a web server (ie. Apache) but A Proxy, what’s that ?? So, firstly who created NGINX Web Server?–> Same developers who contributed to build Apache web server have built NGINX Why NGINX ? –> It was designed to overcome flows of Apache web server–> It … Read more What is: NGINX – A Web Server and A Proxy