Create ingress.gtpl

This commit is contained in:
Alexandre
2021-04-05 20:10:38 +02:00
committed by GitHub
parent 9969733cb2
commit cb5969b49f

View 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;
}
}