From bc2335a54e8c77382065aee54edb1a57aa92cff7 Mon Sep 17 00:00:00 2001 From: yusing Date: Mon, 6 Jan 2025 04:04:05 +0800 Subject: [PATCH] update config example --- config.example.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config.example.yml b/config.example.yml index 5666259..062967d 100644 --- a/config.example.yml +++ b/config.example.yml @@ -22,14 +22,22 @@ entrypoint: middlewares: + # this part blocks all non-LAN HTTP traffic + # remove if you don't want this - use: CIDRWhitelist allow: - "127.0.0.1" - "10.0.0.0/8" + - "172.16.0.0/12" - "192.168.0.0/16" status: 403 message: "Forbidden" + # end of CIDRWhitelist + + # this part redirects HTTP to HTTPS + # remove if you don't want this - use: RedirectHTTP + # access_log: # buffer_size: 1024 # path: /var/log/example.log