App redirecting to SSO

Hi
I am facing a strange issue. I have simple index.html file in /var/www/test and for nginx config I have/etc/nginx/conf.d/domain.tld.d/test.conf which looks like this:

location /test {
    alias /var/www/test;
    
  

    # Default indexes and catch-all
    index index.html;
    
}

A very simple nginx config for index.html which should show content of the index.html, but instead it redirects me to the SSO page.
The access log shows me:
"GET /test HTTP/1.1" 301 248 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0"

Anybody have an idea why its redirecting to SSO?

It’s because SSOWat protect all url that are not listed in the skip or unprotected list.

You can configure that by adding your exception in a /etc/ssowat/conf.json.persistent file like this:

{
    "skipped_urls": [
        "yourdomain.tld/test"
    ]
}

A documentation about possibilities of this file is available in the readme of this repository:

2 Likes

Thanks that worked.