knox 修订了这个 Gist . 跳至此修订
1 file changed, 0 insertions, 0 deletions
Llama-Deployment-21.caddy 重命名为 Llama-Deployment-21.Caddyfile
File renamed without changes
knox 修订了这个 Gist . 跳至此修订
1 file changed, 0 insertions, 0 deletions
Llama-Deployment-21.Caddyfile 重命名为 Llama-Deployment-21.caddy
File renamed without changes
knox 修订了这个 Gist . 跳至此修订
1 file changed, 11 insertions
Llama-Deployment-21.Caddyfile(file created)
@@ -0,0 +1,11 @@ | |||
1 | + | your_domain.com { | |
2 | + | reverse_proxy unix//home/deployer/llama/llama.sock | |
3 | + | encode gzip | |
4 | + | ||
5 | + | log { | |
6 | + | output file /var/log/caddy/access.log | |
7 | + | format single_field common_log | |
8 | + | } | |
9 | + | ||
10 | + | tls your_email@example.com | |
11 | + | } |