What does nginx's %hostdir% mean?

Sergey Leshchenko asked:

In one nginx sample configuration there was such block:

    location / {
        root       "%hostdir%";
        index      index.php index.html index.htm;
    }

While I understand what it means I couldn’t find in nginx documention what exactly %hostdir% is and what are other such replacements.

My answer:


%hostdir% is not an nginx configuration. These are template values filled in by Open Server, a Russian-language web development suite similar to XAMPP and other such suites. (Questions about Open Server are not on topic here; try asking questions about it on Stack Overflow на русском. The site already has a tag for questions about it.)


View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.