Learn about Centmin Mod LEMP Stack today
Become a Member

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

    32,348
    7,181
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,922
    Local Time:
    4:35 AM
    Nginx 1.13.x
    MariaDB 5.5
    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.