Skip to content

Commit

Permalink
fix static proxy example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Dec 19, 2023
1 parent fa23778 commit 5b5b042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"`

This comment has been minimized.

Copy link
@FrancYescO

FrancYescO Dec 19, 2023

i think is better to remove example.com from the second parameter to avoid confusion, as the host is matched with *,

- 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`
Expand Down

0 comments on commit 5b5b042

Please sign in to comment.