Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
258
Issues
258
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LemonLDAP NG
lemonldap-ng
Commits
252ef99a
Commit
252ef99a
authored
Jan 29, 2016
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nginx in progress...
parent
40366bfe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
Makefile
Makefile
+4
-2
_example/etc/handler-nginx.conf
_example/etc/handler-nginx.conf
+3
-1
No files found.
Makefile
View file @
252ef99a
...
...
@@ -336,7 +336,8 @@ start_web_server: all prepare_test_server
reload_web_server
:
@
if
[
-e
e2e-tests/conf/apache2.pid
]
;
then
\
LLNG_DEFAULTCONFFILE
=
`
pwd
`
/e2e-tests/conf/lemonldap-ng.ini /usr/sbin/apache2
-d
`
pwd
`
/e2e-tests
-f
apache2.conf
-k
graceful
;
\
LLNG_DEFAULTCONFFILE
=
`
pwd
`
/e2e-tests/conf/lemonldap-ng.ini
\
/usr/sbin/apache2
-d
`
pwd
`
/e2e-tests
-f
apache2.conf
-k
graceful
;
\
elif
[
-e
e2e-tests/conf/nginx.pid
]
;
then
\
kill
-HUP
`
cat
e2e-tests/conf/nginx.pid
`
;
\
kill
`
cat
e2e-tests/conf/plackup.pid
`
||
true
;
\
...
...
@@ -362,7 +363,8 @@ stop_web_server:
restart_web_server
:
start_web_server
plackup
:
@
/sbin/start-stop-daemon
--start
\
@
LLNG_DEFAULTCONFFILE
=
`
pwd
`
/e2e-tests/conf/lemonldap-ng.ini
\
/sbin/start-stop-daemon
--start
\
--pidfile
e2e-tests/conf/plackup.pid
\
-d
`
pwd
`
-b
-m
\
--exec
/usr/bin/plackup
--
\
...
...
_example/etc/handler-nginx.conf
View file @
252ef99a
...
...
@@ -3,6 +3,7 @@ server {
server_name
test1
.
example
.
com
;
root
/
var
/
www
/
html
;
# Internal authentication request
location
= /
lmauth
{
internal
;
...
...
@@ -24,7 +25,8 @@ server {
# Client requests
location
/ {
auth_request
/
lmauth
;
error_page
401
$
upstream_http_www_authenticate
;
auth_request_set
$
lmlocation
$
upstream_http_x_location
;
error_page
401
$
lmlocation
;
try_files
$
uri
$
uri
/ =
404
;
# Add as many 3-lines block as headers returned by configuration for this
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment