Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nginx Http Shibboleth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anna-Maria Tipotsch
Nginx Http Shibboleth
Commits
f8570c90
Commit
f8570c90
authored
7 years ago
by
David Beitey
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #20 from nginx-shib/version-update
Version update in Travis CI
parents
4b2568d0
6e58b375
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+4
-4
4 additions, 4 deletions
.travis.yml
README.rst
+5
-2
5 additions, 2 deletions
README.rst
ngx_http_shibboleth_module.c
+2
-2
2 additions, 2 deletions
ngx_http_shibboleth_module.c
with
11 additions
and
8 deletions
.travis.yml
+
4
−
4
View file @
f8570c90
...
...
@@ -5,11 +5,11 @@ compilers:
env
:
# Don't use `NGINX` as the variable name or Nginx won't daemonise
# Mainline
-
SHIB_NGINX_VERSION=1.11.1 SHIB_DYNAMIC_MODULE=true
-
SHIB_NGINX_VERSION=1.11.1 SHIB_DYNAMIC_MODULE=false
-
SHIB_NGINX_VERSION=1.11.1
3
SHIB_DYNAMIC_MODULE=true
-
SHIB_NGINX_VERSION=1.11.1
3
SHIB_DYNAMIC_MODULE=false
# Stable
-
SHIB_NGINX_VERSION=1.10.
1
SHIB_DYNAMIC_MODULE=true
-
SHIB_NGINX_VERSION=1.10.
1
SHIB_DYNAMIC_MODULE=false
-
SHIB_NGINX_VERSION=1.10.
3
SHIB_DYNAMIC_MODULE=true
-
SHIB_NGINX_VERSION=1.10.
3
SHIB_DYNAMIC_MODULE=false
# Previous stable
-
SHIB_NGINX_VERSION=1.8.1 SHIB_DYNAMIC_MODULE=false
sudo
:
false
...
...
This diff is collapsed.
Click to expand it.
README.rst
+
5
−
2
View file @
f8570c90
...
...
@@ -7,7 +7,9 @@ Shibboleth auth request module for Nginx
This module allows Nginx to work with Shibboleth, by way of Shibboleth's
FastCGI authorizer. This module requires specific configuration in order to
work correctly, as well as Shibboleth's FastCGI authorizer application
available on the system.
available on the system. It aims to be similar to parts of Apache's
`mod_shib`_, though Shibboleth authorisation and authentication settings are
configured via `shibboleth2.xml`_ rather than in the web server configuration.
With this module configured against a ``location`` block, incoming requests
are authorized within Nginx based upon the result of a subrequest to
...
...
@@ -336,4 +338,5 @@ This module uses `Semantic Versioning <http://semver.org/>`_ and all releases
are tagged on GitHub, which allows package downloads of individual tags.
.. _FastCGI Authorizer spec: http://www.fastcgi.com/drupal/node/6?q=node/22#S6.3
.. _mod_shib: https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPApacheConfig
.. _shibboleth2.xml: https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPShibbolethXML
This diff is collapsed.
Click to expand it.
ngx_http_shibboleth_module.c
+
2
−
2
View file @
f8570c90
...
...
@@ -296,8 +296,8 @@ ngx_http_auth_request_handler(ngx_http_request_t *r)
continue
;
}
if
(
ngx_strncasecmp
(
h
[
i
].
key
.
data
,
(
u_char
*
)
"Variable-"
,
9
)
==
0
)
{
if
(
h
[
i
].
key
.
len
>=
9
&&
ngx_strncasecmp
(
h
[
i
].
key
.
data
,
(
u_char
*
)
"Variable-"
,
9
)
==
0
)
{
/* copy header into original request */
hi
=
ngx_list_push
(
&
r
->
headers_in
.
headers
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment