From eb4ae8f3d60350df75a5c27029be9982bde1e554 Mon Sep 17 00:00:00 2001 From: Nuc1eoN <2538022+Nuc1eoN@users.noreply.github.com> Date: Tue, 22 Feb 2022 06:01:37 +0100 Subject: [PATCH] Update caddy config, port number is redundant according to caddy dev --- Proxy-examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Proxy-examples.md b/Proxy-examples.md index c0aee5e..c80614c 100644 --- a/Proxy-examples.md +++ b/Proxy-examples.md @@ -11,13 +11,13 @@ Secure TLS protocol and cipher configurations for webservers can be generated us
Caddy 2.x
-Caddy 2 can automatically enable HTTPS in some circumstances, check the [docs](https://caddyserver.com/docs/automatic-https). +Caddy 2 can automatically enable HTTPS in most circumstances, check the [docs](https://caddyserver.com/docs/automatic-https#activation). In the Caddyfile syntax, `{$VAR}` denotes the value of the environment variable `VAR`. If you prefer, you can also directly specify a value instead of substituting an env var value. ``` -{$DOMAIN}:443 { +{$DOMAIN} { log { level INFO output file {$LOG_FILE} {