<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 18, 2017 at 10:52 PM, Daniel <span dir="ltr"><<a href="mailto:daniel@linux-nerd.de" target="_blank">daniel@linux-nerd.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Hi there,<div><br></div><div>i wanted to try something like a Wildcard DocRoot:</div><div><br></div><div><br></div><div><div style="margin:0px;font-size:10px;line-height:normal;font-family:monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures"> server {</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures"> listen 80;</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures"> root /var/www/branches/*/current/<wbr>web/;</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures"> server_name <a href="http://auto.deploy.fcse.int" target="_blank">auto.deploy.fcse.int</a>;</span></div></div></div></blockquote><div><br></div><div><br></div><div>I use this:<br><br>
<font face="monospace, monospace">server {<br> listen [::1]:80 default_server deferred reuseport so_keepalive=on ipv6only=on;<br> listen <a href="http://127.0.0.1:80">127.0.0.1:80</a> default_server deferred reuseport so_keepalive=on;<br> server_name ~(?<site>[^\.]+)\.dev$;<br> root /Users/bungle/Sites/$site/html;<br> index index.php;</font></div><div><font face="monospace, monospace"> # ...</font></div><div><font face="monospace, monospace">}</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">I'm sure you can figure out from there.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Regards</font></div><div><font face="arial, helvetica, sans-serif">Aapo</font></div></div></div></div>