Skip to content

Commit

Permalink
Feature: LDAP-PHPAdmin service.
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Apr 12, 2016
1 parent 6311a66 commit c583c23
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions resources/configuration/sites-enabled/tools-context.conf
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,13 @@ server {
proxy_pass http://ldap-ltb;
}

location ~* /ldap-phpadmin {
rewrite ^/ldap-phpadmin/(.*)$ /$1 break;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_redirect off;
proxy_pass http://ldap-phpadmin;
}

}

0 comments on commit c583c23

Please sign in to comment.