Files
hassio-addons/qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl
2024-11-25 11:54:04 +01:00

21 lines
513 B
Groovy

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/;
# avoid cache
expires -1; # kill cache
proxy_no_cache 1; # don't cache it
proxy_cache_bypass 1; # even if cached, don't try to use it
}
location /api {
proxy_pass {{ .protocol }}://backend;
client_max_body_size 10M;
}
}