From 0377755d7f9123e58239b4c22fb3356382643be0 Mon Sep 17 00:00:00 2001 From: "chen.yang" Date: Tue, 19 Apr 2022 15:05:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=20caddy=202.4.6.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chen.yang --- Software/Applications/Caddy/Caddy_的使用.md | 61 ++++++--------------- 1 file changed, 18 insertions(+), 43 deletions(-) diff --git a/Software/Applications/Caddy/Caddy_的使用.md b/Software/Applications/Caddy/Caddy_的使用.md index 7517dea..f342958 100644 --- a/Software/Applications/Caddy/Caddy_的使用.md +++ b/Software/Applications/Caddy/Caddy_的使用.md @@ -26,7 +26,7 @@ Type=simple User= Group= WorkingDirectory=/home//bin/caddy -ExecStart=/home//bin/caddy/caddy -conf /home//bin/caddy/Caddyfile +ExecStart=/home//bin/caddy/caddy run -config /home//bin/caddy/Caddyfile Restart=always Environment=USER= HOME=/home/ GITEA_WORK_DIR=/home//bin/caddy # If you want to bind Gitea to a port below 1024 uncomment @@ -39,57 +39,32 @@ Environment=USER= HOME=/home/ GITEA_WORK_DIR=/home/