NGINX Installation in Fedora 34 – Step-by-step

September 5, 2021 | By the+gnu+linux+evangelist.

Getting Started

  1. 3. Starting NGINX

    Next to Start NGINX on the default Http port
    First, Stop Apache if is installed:

    sudo service apache2 stop

    And the to Start/Restart NGINX play:

    sudo service nginx restart
  2. 4. Testing NGINX

    Finally, Testing NGINX Installation
    On a localhost with curl:

    curl http://127.0.0.1

    Or the same address on a Browser…

  3. 5. Configuring NGINX

    To Edit the NGINX Configuration File
    With the nano Editor:

    sudo nano /etc
    ginx/conf.d/default.conf

    See the Getting Started Documentation below for useful Examples.
    Ctrl+w to Search.
    Finally, Ctrl+x to Save & Exit from nano Editor.

  4. 6. NGINX Getting-Started Guide

    Getting-Started with NGINX Administration on GNU/Linux

Contents


QuickChic Theme • Powered by WordPress