rmfakecloud-proxy/README.md
2024-09-26 20:54:33 +02:00

32 lines
584 B
Markdown

# rmfakecloud-proxy
Single-minded HTTPS reverse proxy
(forked from https://github.com/yi-jiayu/secure)
## Usage
```
usage: rmfakecloud-proxy [-addr host:port] -cert certfile -key keyfile upstream
-addr string
listen address (default ":443")
-cert string
path to cert file
-key string
path to key file
-c configfile
upstream string
upstream url
```
### Example
```
rmfakecloud-proxy -cert cert.pem -key key.pem http://localhost:6060
```
## Configfile
```yaml
cert: proxy.crt
key: proxy.key
upstream: https://somehost:123
#addr: :443
```