[lemonldap-ng] 13/37: Add Nginx doc in README.Debian

Xavier Guimard xguimard-guest at moszumanska.debian.org
Sat Mar 5 13:39:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

xguimard-guest pushed a commit to branch master
in repository lemonldap-ng.

commit f5b43eb5119fcfd81b402f44b52501811459a2b4
Author: Xavier Guimard <x.guimard at free.fr>
Date:   Sat Mar 5 07:51:33 2016 +0100

    Add Nginx doc in README.Debian
---
 debian/lemonldap-ng.README.Debian | 29 +++++++++++++++++++++++++----
 1 file changed, 25 insertions(+), 4 deletions(-)

diff --git a/debian/lemonldap-ng.README.Debian b/debian/lemonldap-ng.README.Debian
index d6c18fd..781a4e8 100644
--- a/debian/lemonldap-ng.README.Debian
+++ b/debian/lemonldap-ng.README.Debian
@@ -7,10 +7,12 @@ By default, DNS domain is example.com. You can change using dpkg-reconfigure or
 with a quick sed command. For example, we change it to ow2.org:
 
   sed -i 's/example\.com/ow2.org/g' /etc/lemonldap-ng/* \
-         /var/lib/lemonldap-ng/conf/lmConf-1 /var/lib/lemonldap-ng/test/index.pl
+         /var/lib/lemonldap-ng/conf/lmConf-1.js /var/lib/lemonldap-ng/test/index.pl
 
-2 - Enable LL::NG sites in Apache
----------------------------------
+2 - Enable LL::NG sites
+-----------------------
+
+2.1 - Apache
 
 Enable the components you've installed:
 
@@ -23,7 +25,7 @@ Enable the components you've installed:
   # Handler
   a2ensite handler-apache2.conf
 
-and enable mod_perl if not already loaded:
+customize them and enable mod_perl if not already loaded:
 
   a2enmod perl
 
@@ -32,6 +34,25 @@ Then restart Apache:
   apache2ctl configtest
   apache2ctl restart
 
+2.2 - Nginx
+
+Enable the components you've installed:
+
+  cd /etc/nginx/sites-enabled
+
+  # Portal
+  ln -s ../sites-available/portal-nginx.conf
+
+  # Manager
+  ln -s ../sites-available/manager-nginx.conf
+
+  # Handler
+  ln -s ../sites-available/handler-nginx.conf
+
+Customize then, then reload nginx
+
+  service nginx reload
+
 3 - Check your DNS
 ------------------
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/lemonldap-ng.git



More information about the Pkg-perl-cvs-commits mailing list