From 6a205a1e4357e098c00db0ea6151838222c27acd Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sat, 27 Feb 2021 18:45:42 +0800 Subject: [PATCH] Explain subtle part in README Caddyfile --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dcd34e90fe..9cba0a677f 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ route { file_server { root /var/www/html } } ``` -This is Caddy 2 syntax. It is not the same with Caddy 1. +`:443` must appear first for this Caddyfile to work. For more advanced usage consider using JSON for Caddy 2's config. Locally run `./naive` with the following `config.json` to get a SOCKS5 proxy at local port 1080. ```json