Nginx App Protected with CAS SSO

21 views
Skip to first unread message

Fernando Gómez

unread,
Mar 8, 2019, 1:29:26 PM3/8/19
to CAS Community
Hello, I currently have an APP with apache mod_auth_cas, that protects it, but the application in production I have in Nginx, is there any way to do something similar to what I already have in Nginx?

Thanks in advance


LoadModule auth_cas_module /etc/apache2/mods-available/mod_auth_cas.so

<Directory "/ var / www / html / fer-app-proxy">

Authtype CAS
Require valid-user
Options Indexes MultiViews
AllowOverride all
Order allow, deny
Allow from all
CASScope / fer-app-proxy

</ Directory>


<IfModule mod_auth_cas.c>
CASLoginUrl https: // myservercas / cas / login
     #CASValidateUrl https: // myservercas / cas / p3 / serviceValidate
     CASValidateUrl https: // myservercas / cas / p3 / proxyValidate
     CASCookiePath / var / cache / apache2 / mod_auth_cas /

     CASValidateServer Off
     CASVersion 2
     LogLevel debug
CASDebug On
CASTimeout 864000
CASIdleTimeout 72000
CASSSOEnabled On
ErrorLog /var/log/cas_error.log
    
</ IfModule>
Reply all
Reply to author
Forward
0 new messages