From 00e2ec5a1c73b5ff744f7945baa03ed5d1723de4 Mon Sep 17 00:00:00 2001 From: ghostersk <68815071+ghostersk@users.noreply.github.com> Date: Sat, 1 Mar 2025 11:48:08 +0000 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 77c48d9..0bd3c2e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,22 @@ # GoLangProxy - simple application written in go lang for proxing http and https with built in self signed certificate function. - +- `config.yaml` default settings in current state would be created as: +```yaml +listen_http: :80 +listen_https: :443 +cert_dir: ./certificates +cert_file: certificate.pem +key_file: key.pem +routes: + '*': http://127.0.0.1:80 + main.example.com: http://127.0.0.1:80 +trust_target: + '*': true + main.example.com: false +no_https_redirect: + '*': false + main.example.com: true +``` ### setup project go mod init proxy