<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Le 16/05/2012 18:47, B.R. a écrit :
<blockquote
cite="mid:CALqce=0D5JTtWpK-poc7w5aV5Nc2UVmm_=6yiQLe-A3gf5F8ow@mail.gmail.com"
type="cite"><font color="#333399"><font>Hello,<br>
<br>
Typically, I would use one directory per host to serve content
from each domain and use one config file per generic type:</font></font><br>
</blockquote>
<font color="#333399"><br>
Hello,<br>
<br>
thanks, but I can as I have to _migrate_ the actual config.<br>
I'm going to generate server_name config in separates files, then
include them in server {} config like :<br>
<br>
server {<br>
server_name domain1.com; # main domain<br>
include prod_domains.conf;<br>
include commonrules.conf;<br>
include prod_rules.conf;<br>
}<br>
</font><font color="#333399">server {<br>
server_name preprod.domain1.com; # main domain<br>
include preprod_domains.conf;<br>
</font><font color="#333399"> include commonrules.conf;</font><br>
<font color="#333399">
include preprod_rules.conf;<br>
}<br>
<br>
But the server_names list will be huge...<br>
</font><font color="#333399"><br>
</font>
<div class="moz-signature">-- <br>
Greg<br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<title>Document sans nom</title>
</div>
</body>
</html>