providers/proxy: set proxy-size for nginx for larger response
This commit is contained in:
parent
a6d0c8c26c
commit
dc16a8a4c9
|
@ -154,6 +154,7 @@ class DockerController(BaseController):
|
|||
),
|
||||
"AUTHENTIK_TOKEN": self.outpost.token.key,
|
||||
},
|
||||
"labels": self._get_labels(),
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
|
@ -74,11 +74,13 @@ class IngressReconciler(KubernetesObjectReconciler[NetworkingV1beta1Ingress]):
|
|||
# goes to the same pod
|
||||
"nginx.ingress.kubernetes.io/affinity": "cookie",
|
||||
"traefik.ingress.kubernetes.io/affinity": "true",
|
||||
"nginx.ingress.kubernetes.io/proxy-buffers-number": "4",
|
||||
"nginx.ingress.kubernetes.io/proxy-buffer-size": "16k",
|
||||
}
|
||||
annotations.update(
|
||||
self.controller.outpost.config.kubernetes_ingress_annotations
|
||||
)
|
||||
return dict()
|
||||
return annotations
|
||||
|
||||
def get_reference_object(self) -> NetworkingV1beta1Ingress:
|
||||
"""Get deployment object for outpost"""
|
||||
|
|
|
@ -7,7 +7,7 @@ from authentik.providers.proxy.models import ProxyProvider
|
|||
|
||||
|
||||
class ProxyProviderForm(forms.ModelForm):
|
||||
"""Security Gateway Provider form"""
|
||||
"""Proxy Provider form"""
|
||||
|
||||
instance: ProxyProvider
|
||||
|
||||
|
|
Reference in New Issue