74 lines
2.6 KiB
HTML
74 lines
2.6 KiB
HTML
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
|
|
lang="en" dir="ltr">
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title></title>
|
|
<!-- metadata -->
|
|
<meta name="generator" content="Offline" />
|
|
<meta name="version" content="Offline 0.1" />
|
|
<!-- style sheet links -->
|
|
<link rel="stylesheet" media="all" type="text/css" href="../../../css/all.css" />
|
|
<link rel="stylesheet" media="screen" type="text/css" href="../../../css/screen.css" />
|
|
<link rel="stylesheet" media="print" type="text/css" href="../../../css/print.css" />
|
|
|
|
</head>
|
|
<body>
|
|
<div class="dokuwiki export">
|
|
|
|
|
|
<h1 class="sectionedit1" id="deploy_nginx_configuration">Deploy Nginx configuration</h1>
|
|
<div class="level1">
|
|
|
|
</div>
|
|
<!-- EDIT1 SECTION "Deploy Nginx configuration" [1-42] -->
|
|
<h2 class="sectionedit2" id="files">Files</h2>
|
|
<div class="level2">
|
|
|
|
<p>
|
|
With tarball installation, Nginx configuration files will be installed in <code>/usr/local/lemonldap-ng/etc/</code>, else they are in <code>/etc/lemonldap-ng</code>.
|
|
</p>
|
|
|
|
<p>
|
|
You have to include them in Nginx main configuration.
|
|
</p>
|
|
|
|
</div>
|
|
<!-- EDIT2 SECTION "Files" [43-265] -->
|
|
<h3 class="sectionedit3" id="debianubuntu">Debian/Ubuntu</h3>
|
|
<div class="level3">
|
|
|
|
<p>
|
|
Link files into <code>sites-available</code> directory (should already have been done if you used packages):
|
|
</p>
|
|
<pre class="code">ln -s /etc/lemonldap-ng/handler-nginx.conf /etc/nginx/sites-available/
|
|
ln -s /etc/lemonldap-ng/manager-nginx.conf /etc/nginx/sites-available/
|
|
ln -s /etc/lemonldap-ng/portal-nginx.conf /etc/nginx/sites-available/
|
|
ln -s /etc/lemonldap-ng/test-nginx.conf /etc/nginx/sites-available/</pre>
|
|
|
|
<p>
|
|
Enable sites:
|
|
</p>
|
|
<pre class="code">ln -s /etc/nginx/sites-available/handler-nginx.conf /etc/nginx/sites-enabled/
|
|
ln -s /etc/nginx/sites-available/manager-nginx.conf /etc/nginx/sites-enabled/
|
|
ln -s /etc/nginx/sites-available/portal-nginx.conf /etc/nginx/sites-enabled/
|
|
ln -s /etc/nginx/sites-available/test-nginx.conf /etc/nginx/sites-enabled/</pre>
|
|
|
|
</div>
|
|
<!-- EDIT3 SECTION "Debian/Ubuntu" [266-1024] -->
|
|
<h3 class="sectionedit4" id="red_hatcentos">Red Hat/CentOS</h3>
|
|
<div class="level3">
|
|
|
|
<p>
|
|
Link files directly in <code>conf.d</code> directory:
|
|
</p>
|
|
<pre class="code">ln -s /etc/lemonldap-ng/handler-nginx.conf /etc/nginx/conf.d/
|
|
ln -s /etc/lemonldap-ng/manager-nginx.conf /etc/nginx/conf.d/
|
|
ln -s /etc/lemonldap-ng/portal-nginx.conf /etc/nginx/conf.d/
|
|
ln -s /etc/lemonldap-ng/test-nginx.conf /etc/nginx/conf.d/</pre>
|
|
|
|
</div>
|
|
</div><!-- closes <div class="dokuwiki export">--> |