VEGAS/sso: increase nginx proxy buffer size
This commit is contained in:
parent
9cb396a9ec
commit
fcd8bfdf01
1 changed files with 8 additions and 1 deletions
|
@ -19,7 +19,14 @@ in
|
||||||
};
|
};
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"${login}" = lib.recursiveUpdate (vhosts.proxy kc.url) {
|
"${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/";
|
"account.${domain}" = vhosts.redirect "https://${login}/auth/realms/master/account/";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue