From 6da3674985a504c8edb07eb171140c89bcb62bc3 Mon Sep 17 00:00:00 2001 From: Valentin Date: Sat, 24 Feb 2024 14:38:38 +0100 Subject: [PATCH] directus tmux et caddy 12 --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 3bf1d87..f7af7c7 100644 --- a/install.sh +++ b/install.sh @@ -262,7 +262,7 @@ if [[ "$answer" == "y" ]]; then npm init -y &&\ npx directus bootstrap" $username - chown -R caddy:caddy "/home/${username}/${cms_folder}" +# chown -R caddy:caddy "/home/${username}/${cms_folder}" session="directus" su -c "tmux new-session -d -s ${session} &&\ @@ -271,6 +271,7 @@ if [[ "$answer" == "y" ]]; then caddyfile="/etc/caddy/Caddyfile" echo "cms.${domain_name} {" >> $caddyfile echo "reverse_proxy ${ip}:${port}" >> $caddyfile + echo "log file /home/val/caddy.log" >> $caddyfile echo "}" >> $caddyfile caddy fmt $caddyfile -w caddy reload -c $caddyfile