mirror of
https://github.com/umputun/reproxy.git
synced 2025-06-30 22:13:42 +02:00
* detect in-container and set listen to 0.0.0.0 * simplify default address logic don't change if user defined, use 127.0.0.1:8080 for non-docker and 0.0.0.0:8080 for in-docker only if nothing set * add dynamic default to redir http port * add docs about dynamic defaults * add ssl example * lint: params warn
10 lines
399 B
Markdown
10 lines
399 B
Markdown
# Example of a docker provider with an automatic SSL (Let's Encrypt)
|
|
|
|
This example should run on the machine with resolvable FQDN. All files use example.com, make sure you **replace it with your domain**.
|
|
|
|
run this example with `docker-compose up` and try to hit containers:
|
|
|
|
- `curl https://example.com/api/svc1/123`
|
|
- `curl http://example.com/api/svc2/345`
|
|
- `curl http://example.com/whoami/test`
|