diff --git a/qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl b/qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl new file mode 100644 index 000000000..c4ec5d7df --- /dev/null +++ b/qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl @@ -0,0 +1,16 @@ +server { + listen {{ .interface }}:{{ .port }} default_server; + server_name vue.torrent; + include /etc/nginx/includes/server_params.conf; + include /etc/nginx/includes/proxy_params.conf; + + location / { + root /vuetorrent/public/; + } + + location /api { + proxy_pass {{ .protocol }}://backend; + http2_push_preload on; + client_max_body_size 10M; + } +}