drupal-with-nginx icon indicating copy to clipboard operation
drupal-with-nginx copied to clipboard

Simplesaml

Open denics opened this issue 8 years ago • 0 comments

Thanks for the very nice and modular configuration. I am now trying to set up a simplesamlphp sso with D7. My configuration works fine in Apache, but I am unable to move now to nginx. On the net I haven't found any working configuration.

This is my conf:

location ^~ /saml_login {
                alias /var/www/simplesaml;
                location ~ ^(?<prefix>/saml_login)(?<phpfile>.+?\.php)(?<pathinfo>/.*)?$ {
                        include fastcgi_params;
                        fastcgi_pass unix:/var/run/php/php7.0-fpm_saml.sock;
                        fastcgi_param SCRIPT_FILENAME $document_root$phpfile;
                        fastcgi_param PATH_INFO $pathinfo in_not_empty;
                }
        }

denics avatar Feb 03 '17 13:02 denics