Update README.md

This commit is contained in:
ghostersk
2025-03-01 11:48:08 +00:00
committed by GitHub
parent a86ef6fe1d
commit 00e2ec5a1c
+17 -1
View File
@@ -1,6 +1,22 @@
# GoLangProxy # GoLangProxy
- simple application written in go lang for proxing http and https with built in self signed certificate function. - 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 ### setup project
go mod init proxy go mod init proxy