You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-35Lines changed: 3 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@ A proxy that upgrades HTTP connections to HTTPS for systems which cannot make HT
3
3
4
4
## Running the proxy
5
5
6
+
Download the latest binary corresponding to your platfrom from the [releases section](https://github.com/yeokm1/http-to-https-proxy/releases/).
7
+
6
8
### Default Configuration
7
9
8
10
```bash
@@ -36,38 +38,4 @@ If the server you are connecting to is using expired/insecure TLS certificates.
36
38
37
39
# Compiling
38
40
39
-
Just install the latest Go compiler for your platform. The latest at the time of writing is `1.20.2`. THe following was compiled on windows/amd64 platform using Powershell
40
-
41
-
```bash
42
-
$env:GOOS="windows"
43
-
$env:GOARCH="amd64"
44
-
go build http-to-https-proxy.go
45
-
46
-
$env:GOOS="windows"
47
-
$env:GOARCH="386"
48
-
go build http-to-https-proxy.go
49
-
50
-
$env:GOOS="darwin"
51
-
$env:GOARCH="amd64"
52
-
go build http-to-https-proxy.go
53
-
54
-
$env:GOOS="darwin"
55
-
$env:GOARCH="arm64"
56
-
go build http-to-https-proxy.go
57
-
58
-
$env:GOOS="linux"
59
-
$env:GOARCH="amd64"
60
-
go build http-to-https-proxy.go
61
-
62
-
$env:GOOS="linux"
63
-
$env:GOARCH="arm"
64
-
go build http-to-https-proxy.go
65
-
66
-
$env:GOOS="linux"
67
-
$env:GOARCH="arm64"
68
-
go build http-to-https-proxy.go
69
-
70
-
$env:GOOS="linux"
71
-
$env:GOARCH="riscv64"
72
-
go build http-to-https-proxy.go
73
-
```
41
+
Just install the latest Go compiler for your platform. The latest at the time of writing is `1.20.5`. THe following was compiled on windows/amd64 platform using Powershell script `build.ps1`.
log.Printf("HTTP to HTTPS proxy %s listening to %d, forward to %d with listening buffer %d", versionCode, httpListenPort, httpsConnectingPort, proxyBufferSize)
147
-
149
+
148
150
ifallowInsecure {
149
151
log.Printf("Allow insecure TLS certificates")
150
152
}
151
-
153
+
152
154
log.Printf("You can supply the listening port, forward port, buffer size, insecure -i cert as command line args")
0 commit comments