From cda6c648f46a53f8bb562fa274b9c99aecae754c Mon Sep 17 00:00:00 2001 From: Elton Renda Date: Tue, 2 Mar 2021 18:15:52 +0200 Subject: [PATCH] chore: update default hostname --- lxc/nginx-proxy-manager/create.sh | 2 +- lxc/nginx-proxy-manager/setup.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lxc/nginx-proxy-manager/create.sh b/lxc/nginx-proxy-manager/create.sh index c944693..5b1be42 100644 --- a/lxc/nginx-proxy-manager/create.sh +++ b/lxc/nginx-proxy-manager/create.sh @@ -90,7 +90,7 @@ done _ctid=${_ctid:-`pvesh get /cluster/nextid`} _cpu_cores=${_cpu_cores:-1} _disk_size=${_disk_size:-2G} -_host_name=${_host_name:-npm} +_host_name=${_host_name:-nginx-proxy-manager} _bridge=${_bridge:-vmbr0} _memory=${_memory:-512} _swap=${_swap:-0} diff --git a/lxc/nginx-proxy-manager/setup.sh b/lxc/nginx-proxy-manager/setup.sh index 64fc7c1..714085c 100644 --- a/lxc/nginx-proxy-manager/setup.sh +++ b/lxc/nginx-proxy-manager/setup.sh @@ -187,6 +187,7 @@ start_pre() { /data/letsencrypt-acme-challenge export NODE_ENV=production + udhcpc -x hostname:$HOSTNAME } stop() {