mirror of
https://github.com/umputun/reproxy.git
synced 2024-11-23 09:27:22 +03:00
4c051ca37f
* 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 |
||
---|---|---|
.. | ||
docker-compose.yml | ||
README.md |
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