Understanding nginx.conf vs server blocks in sites-available

Discussion in 'Installation/Configuration' started by girthh, Dec 10, 2019.

  1. girthh

    girthh New Member

    With ISPconfig 3.x and NginX, a powerful server is at your fingertips!
    One question though, to help some understand nginx configuration:

    What is the difference...
    Putting code under server{} in sites-available/your-site.vhost?
    or
    Putting code under http{} in the nginx.conf file?

     
  2. ahrasis

    ahrasis Well-Known Member

    girthh likes this.

Share This Page