fititnt / reverse-proxy-for-free-basics-docker

[trabalho-em-progresso] Acompanhe em https://github.com/fititnt/cplp-aiops/issues/62
https://github.com/fititnt/cplp-aiops/issues/62
The Unlicense
3 stars 2 forks source link

Target Domain as enviroment variable #3

Open fititnt opened 5 years ago

fititnt commented 5 years ago

Tsuru best practices would recommend follow The twelve-factor app is a methodology, see https://12factor.net/. In this case ideally we should have one option to set the target domain only with environment variables and try to minimize need to the final user to change it's contents.

For now, since I'm configuring the https://www.etica.dev and not using CloudFlare free HTTPS, we have this issue compared with the https://aguia-pescadora.etica.ai:

Image shows a https error and deny user to access www.etica.dev, but aguia-pescadora.etica.ai is ok.

So, let's do this.