Learn about Centmin Mod LEMP Stack today
Register Now

Nginx Insight Guide Understanding Nginx Vhost Location & Server Contexts

Discussion in 'Centmin Mod Insights' started by eva2000, Jan 16, 2018.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    34,639
    7,658
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,776
    Local Time:
    3:53 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    While Centmin Mod Nginx structure is different, these guides provide basics for understanding the structure i.e. this is the location context for web root /
    Code (Text):
    location / {
      yoursettings...
    }
    

    and you'd only have one of those within server{} context per vhost - no duplicates

     
    • Like Like x 1
..
Thread Status:
Not open for further replies.