mirror of
https://github.com/mainnika/nginx-auth-ldap.git
synced 2026-06-13 02:13:36 +00:00
add README.md
This commit is contained in:
@@ -0,0 +1,41 @@
|
|||||||
|
How to install
|
||||||
|
==============
|
||||||
|
|
||||||
|
FreeBSD
|
||||||
|
--------------
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd ~ && git clone https://code.google.com/p/nginx-auth-ldap/
|
||||||
|
cp -R /usr/ports/www/nginx ~/nginx-ldap
|
||||||
|
```
|
||||||
|
|
||||||
|
edit ~/nginx-ldap/Makefile add CONFIGURE_ARGS --add-module=path_to_http_auth_ldap_module
|
||||||
|
|
||||||
|
```bash
|
||||||
|
HAS_CONFIGURE= yes
|
||||||
|
CONFIGURE_ARGS+=--prefix=${ETCDIR} \
|
||||||
|
....
|
||||||
|
--user=${WWWOWN} --group=${WWWGRP} \
|
||||||
|
--add-module=path_to_http_auth_ldap_module
|
||||||
|
```
|
||||||
|
|
||||||
|
install modified port
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd ~/nginx-ldap
|
||||||
|
make install clean
|
||||||
|
```
|
||||||
|
|
||||||
|
Linux
|
||||||
|
--------------
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd ~ && git clone https://code.google.com/p/nginx-auth-ldap/
|
||||||
|
```
|
||||||
|
|
||||||
|
in nginx source folder
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./configure --add-module=path_to_http_auth_ldap_module
|
||||||
|
make install
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user