<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Yup, include is the way I would do that personally.<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">
Documentation: <a href="http://nginx.org/en/docs/ngx_core_module.html#include">http://nginx.org/en/docs/ngx_core_module.html#include</a><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">The funny thing is you already are using the 'include' directive: look at your 'include fastcgi_params;' line. There must be a 'fastcgi_params' file in your configuration directory...</div>
<div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">That probably comes from the part you copied/pasted from the sample doc.<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">
The way to go would be to put the redundant configuration part in it then call it wherever necessary in the vhosts conf.<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">The docs tell you that include can be used in any context you wish, you just need to decide on the granularity.<br>
<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Hope I helped,<br></div><div class="gmail_extra"><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font>
</div></div>