mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-18 18:38:17 +01:00
Create ingress.gtpl
This commit is contained in:
16
qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl
Normal file
16
qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl
Normal file
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user