drupal-with-nginx
drupal-with-nginx copied to clipboard
Simplesaml
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;
}
}