[TASK][DOC] Instructions with DirectSSO for typo3.org 30/41730/2
authorXavier Perseguers <xavier@typo3.org>
Mon, 20 Jul 2015 12:00:08 +0000 (14:00 +0200)
committerXavier Perseguers <xavier@typo3.org>
Mon, 20 Jul 2015 12:04:02 +0000 (14:04 +0200)
Change-Id: Ied353ff7ab32bf8418af9620067a4cdf82e4816e
Reviewed-on: http://review.typo3.org/41730
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
nginx/files/index.html [new file with mode: 0644]
nginx/templates/virtualhost.conf.j2
typo3/files/directsso/INSTALL.rst

diff --git a/nginx/files/index.html b/nginx/files/index.html
new file mode 100644 (file)
index 0000000..a8ae308
--- /dev/null
@@ -0,0 +1 @@
+Currently in maintenance ... back online as soon as possible. Thanks
\ No newline at end of file
index 734fe44..6683f66 100644 (file)
@@ -22,6 +22,11 @@ server {
         root {{ pootle_virtualenv }}/lib/python2.7/site-packages/pootle/;
     }
 
+    # Uncomment if you are using DirectSSO
+    #location /accounts/login {
+    #    rewrite ^(.*)$ http://typo3.org/login/translation/ redirect;
+    #}
+
     location ^~ /l10n_ter/ {
         root /var/www/{{ domain }}/public/;
         autoindex on;
index 716950d..fe29c0e 100644 (file)
@@ -31,4 +31,10 @@ Install the DirectSSO authentication back-end
 
 5. Edit :file:`directsso/settings.py` to suit your needs.
 
-6. Restart your server to take the changes into account
+6. Redirect the Pootle authentication page to TYPO3::
+
+       location /accounts/login {
+           rewrite ^(.*)$ http://typo3.org/login/translation/ redirect;
+       }
+
+7. Restart your server to take the changes into account