From 7d5582d7e10ad040fed0d771f520213945f9eeab Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 5 Apr 2021 23:27:34 +0200 Subject: [PATCH] Update ingress.gtpl --- qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl b/qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl index 6e57eec4f..d90d99654 100644 --- a/qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl +++ b/qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl @@ -9,8 +9,14 @@ server { } location /api { + proxy_pass {{ .protocol }}://backend; + http2_push_preload on; + client_max_body_size 10M; + } + location /api/ { proxy_pass {{ .protocol }}://backend/; http2_push_preload on; client_max_body_size 10M; } + }