VEGAS/sso: increase nginx proxy buffer size

This commit is contained in:
Max Headroom 2023-01-31 21:22:55 +01:00
parent 9cb396a9ec
commit fcd8bfdf01

View file

@ -19,7 +19,14 @@ in
};
services.nginx.virtualHosts = {
"${login}" = lib.recursiveUpdate (vhosts.proxy kc.url) {
locations."= /".return = "302 /auth/realms/master/account/";
locations = {
"= /".return = "302 /auth/realms/master/account/";
"/".extraConfig = ''
proxy_busy_buffers_size 512k;
proxy_buffers 4 512k;
proxy_buffer_size 256k;
'';
};
};
"account.${domain}" = vhosts.redirect "https://${login}/auth/realms/master/account/";
};