Since 1.9, Lemonldap::NG provides a FastCGI server usable to protect applications with Nginx <em>(See <ahref="../../documentation/1.9/configvhost.html"class="wikilink1"title="documentation:1.9:configvhost">Manage virtual hosts</a> page to configure virtual hosts)</em>.
</p>
<p>
This FastCGI server can be used for all LLNG components. It compiles enabled components on-the-fly.
To enable the FastCGI server at startup, copy the script <code>llng-fastcgi-server</code> installed in INITDIR (default <code>/usr/local/lemonldap-ng/etc/init.d/</code>) in <code>/etc/init.d</code> and enable it (links to <code>/etc/rc<em>x</em>.d</code>).
</p>
</div>
<!-- EDIT4 SECTION "Using make install" [480-728] -->
FastCGI server has few parameters. They can be set by environment variables (read by startup script) or by command line options. A default configuration file can be found in <code>/usr/local/lemonlda-ng/etc/default/llng-fastcgi-server</code> (or <code>/etc/default/lemonldap-ng-fastcgi-server</code> in Debian package).
</p>
<p>
The FastCGI server reads also <code>LLTYPE</code> parameter in FastCGI requests (see portal-nginx.conf or manager-nginx.conf) to choose which module is called: