Nginx directive variables

Discussion in 'General' started by remkoh, Nov 12, 2023.

  1. remkoh

    remkoh Active Member HowtoForge Supporter

    {DOCROOT} and {DOCROOT_CLIENT} both point to /var/www/domain.tld/web/

    Shouldn't {DOCROOT_CLIENT} point to /var/www/domain.tld/ ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No. {DOCROOT_CLIENT} is the real path /var/www/clients/clientX/webX while {DOCROOT} is the symlinked path /var/www/domain.tld
     
    ahrasis likes this.
  3. remkoh

    remkoh Active Member HowtoForge Supporter

    Ah ok, so that's the difference.
    Thanks for clarifying.
     
  4. remkoh

    remkoh Active Member HowtoForge Supporter

    By the way they're pointing to /var/www/clients/clientX/webX/web/ and /var/www/domain.tld/web/
     

Share This Page