rmfakecloud-proxy/README.md

33 lines
584 B
Markdown
Raw Normal View History

2021-02-12 00:36:22 +01:00
# rmfakecloud-proxy
2018-08-19 17:02:20 +08:00
Single-minded HTTPS reverse proxy
2018-08-17 00:39:01 +08:00
2021-02-12 00:36:22 +01:00
(forked from https://github.com/yi-jiayu/secure)
2018-08-17 00:39:01 +08:00
## Usage
```
2024-09-26 20:54:33 +02:00
usage: rmfakecloud-proxy [-addr host:port] -cert certfile -key keyfile upstream
2018-08-18 00:03:05 +08:00
-addr string
listen address (default ":443")
-cert string
path to cert file
-key string
path to key file
2021-09-27 00:23:11 +02:00
-c configfile
2018-08-18 00:03:05 +08:00
upstream string
upstream url
```
### Example
```
2024-09-26 20:54:33 +02:00
rmfakecloud-proxy -cert cert.pem -key key.pem http://localhost:6060
2018-08-17 00:39:01 +08:00
```
2021-09-27 00:23:11 +02:00
## Configfile
```yaml
cert: proxy.crt
key: proxy.key
upstream: https://somehost:123
2021-12-14 11:13:49 +01:00
#addr: :443
2021-09-27 00:23:11 +02:00
```