From 251b4560142873a767902e3bcd00a38b38f53b5c Mon Sep 17 00:00:00 2001
From: Carina Antunes <carina.antunes@cern.ch>
Date: Thu, 22 May 2025 18:20:14 +0200
Subject: [PATCH] fix logout from sso

---
 templates/nginx-config.tmpl | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/templates/nginx-config.tmpl b/templates/nginx-config.tmpl
index 090d0803..4a99a86d 100644
--- a/templates/nginx-config.tmpl
+++ b/templates/nginx-config.tmpl
@@ -74,6 +74,11 @@ server {
     # Pass PHP requests to the WordPress container (PHP-FPM)
     location ~ \.php$ {
         include fastcgi_params;
+
+        # Needed for logout from SSO
+        fastcgi_buffers 16 16k;
+        fastcgi_buffer_size 32k;
+
         fastcgi_pass wordpress;
         fastcgi_index index.php;
         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-- 
GitLab