Nginx missing sites-available directory in the Nginx configuration directory Date: 03-04-2021 Once you installed Nginx on Centos 7 to set up virtual host files, you are unable to find the /etc/nginx/sites-available in /etc/nginx directory. You can follow the below steps to enable this option. Step 1: Create the below directories… Continue Reading Nginx missing sites-available directory in the Nginx configuration directory
React js web app deployment in Docker Date: 22-02-2021 Step 1: Create a Dockerfile in the directory root with below content based on your deployment procedure. =====FROM node:12.2.0-alpine as react_build #also say WORKDIR /home/ubuntu/workspace/ #copy the react app to the container COPY . /home/ubuntu/workspace/ # #prepare the container for building… Continue Reading React js web app deployment in Docker
Sometimes we may run in to troubles when one of our web-server or site is down,We should be able to identify this problem which are likely causing the issues and fix the problem. Please follow the below steps which are the some of the common steps taken by administrators when… Continue Reading How To Troubleshoot When your site is down on a Linux Server
Follow the below steps to enable ACME challenge mkdir .well-known unde var/www/example.com(document root) mkdir acme-challenge under .well-known create file test.txt under acme-challenge goto /etc/nginx/sites-avaialble/example.com and add the below lines You can see the example below.
Nagios with GitLab in Independent VPs Date : 27-oct -2018 In this article, we are going to run two different services in single machine at different ports.Namely Nagios and GitLab are the services which be running on different ports.This will accomplished by installing the services on machine. I.Introduction : Nagios… Continue Reading Nagios with GitLab in Independent VPs
How to change Ngnix config setup to another port 8080 in Linux. Date posted: 28 /09/2018 In this article , we learn about how to change Ngnix port in Linux. Nginx is an open source server having high traffic websites in internet today. Among all the web services, Nginx web server… Continue Reading How to change Ngnix config setup to another port 8080 in Linux.
Country based redirection on nginx behind load balancer|Geo Location Based redirection Date Posted: 19-12-2017 There are scenario where we want to setup country based redirection depends on visitor. In this post, we will explain on how to setup country based redirection on nginx which is behind load balancer. Assumption: Nginx… Continue Reading Country based redirection on nginx behind load balancer|Geo Location Based redirection
Install nginx on cPanel server Date Posted: 15-11-2017 cPanel is the widely used control panel to manage webhosting and it comes with apache as a default webserver. Nginx is fast webserver when compared to apache webserver. In this tutorial, we will explain on how to install nginx on cpanel server.… Continue Reading Install nginx on cPanel server
Add Access Control Allow Origin Region(CORS) for fonts in NGINX? Date Posted: 02-10-2017 In this post, we will explain on how to allow cors (Cross Origin Region) for fonts on nginx. We may have seen the following on google chrome console or firefox firebug addon. No ‘Access-Control-Allow-Origin’ header is Prerequisites:… Continue Reading Allow Cross Origin Region(CORS) for Fonts in NGINX
Setting up different documentroot for subdirectory on nginx Date Posted: 24-09-2017 Nginx is a fastest webserver when compared to apache. In this post, we are going to explain how to setup different documentroot for subdirectory. The maindomain documentroot will be /var/www/html and subdirectory folder documentroot /var/www/folder. Prerequisites: Nginx Webserver. If nginx… Continue Reading Setting up different documentroot for subdirectory on nginx