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() {