From 5b5b04243f28ff5c5d421e3e1bc5eb4577051cf6 Mon Sep 17 00:00:00 2001 From: Umputun Date: Tue, 19 Dec 2023 14:38:39 -0600 Subject: [PATCH] fix static proxy example in docs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f7361e4..ebceef9 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Both HTTP and HTTPS supported. For HTTPS, static certificate can be used as well 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` - 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`