1
0
mirror of https://github.com/umputun/reproxy.git synced 2024-11-24 08:12:31 +02:00

fix static proxy example in docs

This commit is contained in:
Umputun 2023-12-19 14:38:39 -06:00
parent fa23778d42
commit 5b5b04243f

View File

@ -39,7 +39,7 @@ Both HTTP and HTTPS supported. For HTTPS, static certificate can be used as well
Examples: Examples:
- with a static provider: `reproxy --static.enabled --static.rule="example.com/api/(.*),https://api.example.com/$1"` - with a static provider: `reproxy --static.enabled --static.rule="*,example.com/api/(.*),https://api.example.com/$1"`
- with an automatic docker discovery: `reproxy --docker.enabled --docker.auto` - with an automatic docker discovery: `reproxy --docker.enabled --docker.auto`
- as a docker container: `docker up -p 80:8080 umputun/reproxy --docker.enabled --docker.auto` - as a docker container: `docker up -p 80:8080 umputun/reproxy --docker.enabled --docker.auto`
- with automatic SSL: `docker up -p 80:8080 -p 443:8443 umputun/reproxy --docker.enabled --docker.auto --ssl.type=auto --ssl.fqdn=example.com` - with automatic SSL: `docker up -p 80:8080 -p 443:8443 umputun/reproxy --docker.enabled --docker.auto --ssl.type=auto --ssl.fqdn=example.com`