cas-nginx_http_auth_module
cas-nginx_http_auth_module copied to clipboard
A component for nginx module integrated with CAS
ngx_http_cas_module
A component for nginx module integrated with CAS
ngx http barcode module
Table of Contents
- How-To-Use
- Requirements
- Direction
- Contributing
- Author
- License
How-To-Use
ngx_http_cas_module is the same as ngx_http_auth_module but for CAS For example:
location / {
cas_request /auth;
proxy_pass http://127.0.0.1:12345;
}
location = /auth {
internal;
rewrite .* /public/users/login break;
proxy_pass https://cas.example.com;
}
Requirements
ngx_http_barcode requires the following to run:
Direction
- cas_request: enable cas authentication
Syntax: cas_request url
Default: -
Context: server|location
location / {
cas_request /auth;
proxy_pass http://127.0.0.1:12345;
}
location = /auth {
internal;
rewrite .* /public/users/login break;
proxy_pass https://cas.example.com;
}
PS: you can use $remote_user in access_log to record username
Contributing
To contribute to ngx_http_cas_module, clone this repo locally and commit your code on a separate branch.
Author
GitHub @detailyang
License
ngx_http_barcode is licensed under the MIT license.