slightly patched fork of LDAP authentication module for nginx
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nginx-auth-ldap/README.md

39 lines
654 B

# How to install
12 years ago
## FreeBSD
12 years ago
```bash
cd ~ && git clone https://github.com/kvspb/nginx-auth-ldap.git
12 years ago
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
12 years ago
```bash
12 years ago
cd ~ && git clone https://github.com/kvspb/nginx-auth-ldap.git
12 years ago
```
in nginx source folder
```bash
./configure --add-module=path_to_http_auth_ldap_module
make install
```