From c5ed66ad190da07ccdfb75ecae6d8afa5f4bba3b Mon Sep 17 00:00:00 2001 From: scith Date: Wed, 7 Oct 2015 21:23:28 +0200 Subject: [PATCH] SSO first try SSO with a workaround until someone can write an appropriate NGINX file. The workaround is to put Rainloop in a subfolder, and let the index.php be the file doing the SSO --- conf/nginx.conf | 2 +- conf/sso.php | 18 ++++++++++++++++++ scripts/install | 11 +++++++++++ scripts/upgrade | 11 +++++++++++ 4 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 conf/sso.php diff --git a/conf/nginx.conf b/conf/nginx.conf index c7d5d44..ed3d5f2 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,7 +11,7 @@ location PATHTOCHANGE { location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php5-fpm-NAMETOCHANGE.sock; - fastcgi_index index.php; + fastcgi_index sso.php; include fastcgi_params; fastcgi_param REMOTE_USER $remote_user; fastcgi_param PATH_INFO $fastcgi_path_info; diff --git a/conf/sso.php b/conf/sso.php new file mode 100644 index 0000000..8ed23b1 --- /dev/null +++ b/conf/sso.php @@ -0,0 +1,18 @@ +