Skip to content

RENDEZVOUS

Explore-Share-Contribute

  • AI
  • Agile
  • Atlassian
  • Automation
  • CloudOps
  • DevOps
  • IAC
  • VSM
  • Toggle search form

Running Static page on Nginx

Posted on August 13, 2019August 13, 2019 By Pulkit Agarwal 1 Comment on Running Static page on Nginx

The last chapter was focusing on installing Nginx, let’s now look at the steps to deploy static web page through port 8079.

Step 1 –> Create a directory to save code-

cd /var/tmp

sudo mkdir Samplecode

cd Samplecode

Step 2 –> Create “Index.html” – a static web page

sudo vi index.html

Step 3 –> Configure Nginx by executing the following commands – first to edit configuration and then restarting Nginx-

cd /etc/nginx/sites-available

sudo vi TEST

cd /etc/nginx/sites-enabled

sudo ln -s  ../sites-available/TEST

sudo service nginx restart #

Step 4 -> Open browser and access the URL as shown below-

http://<<local system IP>>:8077

You will be able to view your first static homepage. Interesting and easy right ? Try it out !!

Technical Documentation Tags:#nginx;, #ramz, #rendezous;, #runnstaticpagenginx;, #techieatom;

Post navigation

Previous Post: Installing Nginx on AWS
Next Post: “What do you want to be?”

Related Posts

Orchestrate Infra Pipeline with Jenkins and Google Cloud SDK Technical Documentation
Jira Scrum Boards -Chapter 12 Technical Documentation
DevOps … whats your definition? Technical Documentation
Creating Jira Project- Chapter 3 Technical Documentation
Azure Bicep and Azure Pipelines- Chapter 5 Automation
Is Value Stream Management (VSM) important? Agile

Comment (1) on “Running Static page on Nginx”

  1. Ranjana Jindal says:
    August 13, 2019 at 2:24 am

    Good Insight….

Comments are closed.

Copyright © 2025 RENDEZVOUS.

Powered by PressBook Grid Dark theme