Files
GoLangProxy/README.md
T

28 lines
1.2 KiB
Markdown
Raw Normal View History

2025-03-01 11:39:07 +00:00
# GoLangProxy
- simple application written in go lang for proxing http and https with built in self signed certificate function.
2025-03-01 11:48:08 +00:00
- `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
```
2025-03-01 11:39:07 +00:00
### setup project
go mod init proxy
### Running Proxy app without compiling.
go run main.go config.go certificate.go proxy.go utils.go
### Building app:
go build -o proxy