Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:latest:confignginx [2017/02/08 15:50]
coudot
documentation:latest:confignginx [2019/07/02 07:10] (current)
Line 3: Line 3:
 ===== FastCGI server ===== ===== FastCGI server =====
  
-To use Nginx, you must install LemonLDAP::​NG FastCGI server, which is not installed by default lemonldap-ng meta package.+To use Nginx, you must install LemonLDAP::​NG FastCGI server ​or use ''​llngapp.psgi''​ //(provided in examples)// with a PSGI server. See [[psgi|Advanced PSGI usage]].
  
 ==== Debian/​Ubuntu ==== ==== Debian/​Ubuntu ====
Line 37: Line 37:
 ==== Debian/​Ubuntu ==== ==== Debian/​Ubuntu ====
  
-Link files into ''​sites-available''​ directory (should already have been done if you used packages):+  * Install log format //​(automatically loaded when linked in this place)// 
 +<​code>​ 
 +ln -s /​etc/​lemonldap-ng/​nginx-lmlog.conf /​etc/​nginx/​conf.d/​llng-lmlog.conf 
 +</​code>​ 
 +  * Install snippet for vhost configuration ​files
 +<​code>​ 
 +ln -s /​etc/​lemonldap-ng/​nginx-lua-headers.conf /​etc/​nginx/​snippets/​llng-lua-headers.conf 
 +</​code>​ 
 +  * Link LLNG components configuration file into ''​sites-available''​ directory (should already have been done if you used packages):
 <​code>​ <​code>​
 ln -s /​etc/​lemonldap-ng/​handler-nginx.conf /​etc/​nginx/​sites-available/​ ln -s /​etc/​lemonldap-ng/​handler-nginx.conf /​etc/​nginx/​sites-available/​
Line 44: Line 52:
 ln -s /​etc/​lemonldap-ng/​test-nginx.conf /​etc/​nginx/​sites-available/​ ln -s /​etc/​lemonldap-ng/​test-nginx.conf /​etc/​nginx/​sites-available/​
 </​code>​ </​code>​
- +  * Enable sites:
-Enable sites:+
 <​code>​ <​code>​
 ln -s /​etc/​nginx/​sites-available/​handler-nginx.conf /​etc/​nginx/​sites-enabled/​ ln -s /​etc/​nginx/​sites-available/​handler-nginx.conf /​etc/​nginx/​sites-enabled/​