mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
fix(keycloak): large headers
This commit is contained in:
parent
32ff0a8e0c
commit
ed909897b3
1 changed files with 6 additions and 2 deletions
|
|
@ -9,6 +9,10 @@
|
|||
locations."/".proxy.enable = true;
|
||||
name.shortServer = mkDefault "sso";
|
||||
copyFromVhost = mkDefault "keycloak";
|
||||
extraConfig = ''
|
||||
proxy_buffer_size 128k;
|
||||
proxy_buffers 4 256k;
|
||||
'';
|
||||
in {
|
||||
config.services.nginx = {
|
||||
upstreams'.${upstreamName}.servers = {
|
||||
|
|
@ -28,12 +32,12 @@ in {
|
|||
};
|
||||
virtualHosts = {
|
||||
keycloak = {
|
||||
inherit name locations;
|
||||
inherit name locations extraConfig;
|
||||
ssl.force = mkDefault true;
|
||||
proxy.upstream = mkDefault upstreamName;
|
||||
};
|
||||
keycloak'local = {
|
||||
inherit name locations;
|
||||
inherit name locations extraConfig;
|
||||
ssl = {
|
||||
force = mkDefault true;
|
||||
cert = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue