mirror of
https://github.com/mainnika/nginx-auth-ldap.git
synced 2026-07-03 20:22:33 +00:00
Update README.md
fix FreeBSD install
This commit is contained in:
@@ -3,25 +3,14 @@
|
|||||||
## FreeBSD
|
## FreeBSD
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd ~ && git clone https://github.com/kvspb/nginx-auth-ldap.git
|
cd /usr/ports/www/nginx && make config install clean
|
||||||
cp -R /usr/ports/www/nginx ~/nginx-ldap
|
|
||||||
```
|
```
|
||||||
|
|
||||||
edit ~/nginx-ldap/Makefile add CONFIGURE_ARGS --add-module=path_to_http_auth_ldap_module
|
Check HTTP_AUTH_LDAP options
|
||||||
|
|
||||||
|
|
||||||
```bash
|
|
||||||
HAS_CONFIGURE= yes
|
|
||||||
CONFIGURE_ARGS+=--prefix=${ETCDIR} \
|
|
||||||
....
|
|
||||||
--user=${WWWOWN} --group=${WWWGRP} \
|
|
||||||
--add-module=path_to_http_auth_ldap_module
|
|
||||||
```
|
```
|
||||||
|
[*] HTTP_AUTH_LDAP 3rd party http_auth_ldap module
|
||||||
install modified port
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cd ~/nginx-ldap
|
|
||||||
make install clean
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Linux
|
## Linux
|
||||||
|
|||||||
Reference in New Issue
Block a user