dawesi
07/02/2024, 9:55 AMAdam Cameron
dawesi
07/02/2024, 9:58 AMdawesi
07/02/2024, 9:58 AMdawesi
07/02/2024, 10:01 AMAdam Cameron
Adam Cameron
dawesi
07/02/2024, 10:11 AMdawesi
07/02/2024, 10:11 AMdawesi
07/02/2024, 10:13 AMAdam Cameron
so how to do configure the nginx websites?Same way you normally do, via Nginx's config files. The OS in the container has nothing to do with it, same as it has nothing to do with it on an on-metal installation.
dawesi
07/02/2024, 10:15 AMAdam Cameron
Adam Cameron
Adam Cameron
docker exec -it container-name bashAdam Cameron
Adam Cameron
dawesi
07/02/2024, 10:25 AMdawesi
07/02/2024, 10:26 AMdawesi
07/02/2024, 10:29 AMdawesi
07/02/2024, 10:31 AMdawesi
07/02/2024, 10:34 AMgavinbaumanis
07/02/2024, 10:35 AMdawesi
07/02/2024, 10:35 AMdawesi
07/02/2024, 10:36 AMdawesi
07/02/2024, 10:36 AMdawesi
07/02/2024, 10:40 AMgavinbaumanis
07/02/2024, 10:43 AMdawesi
07/02/2024, 10:44 AMgavinbaumanis
07/02/2024, 10:50 AMdawesi
07/02/2024, 10:59 AMdawesi
07/02/2024, 11:12 AMdawesi
07/02/2024, 12:43 PMAdam Cameron
it cant be this hardIt isn't hard. You're making it hard on yerself by not learning how the tool works and is intended to be used before declaring it's difficult. That's just a shit way of going about things. It's also no small amount of hubris on your part to declare a widely-adopted ubiquitous industry standard approach as shit cos you don't bother to understand it. The fundamental thing you are missing - willfully, really, because you're ignoring the guidance - is that one doesn't spin up a container and then configure it. One configures an image and then spin up a container based on the definition provided by the image. Containers are disposable. By design. It's the image that is the persisted (and accordingly what you configure).
Patrick
07/02/2024, 1:25 PMAdam Cameron
Adam Cameron
Patrick
07/02/2024, 3:16 PMPatrick
07/02/2024, 3:17 PMAdam Cameron
Patrick
07/02/2024, 3:35 PMAdam Cameron
The NGINX tagged Docker images are configured to deny access to the Lucee Admin by default in the default.conf.
Whilst it would be dead handy to also include exactly how to re-enable it, I presume it's obvious if one just looks at the file. I'm on my phone right now so can't really check.
Patrick
07/02/2024, 4:12 PMLUCEE_ADMIN_PASSWORD as an env variablePatrick
07/02/2024, 4:14 PMdefault.conf file, not sure about that official image…dont think I have used it before.Adam Cameron
location entry pointing to it.paul
07/03/2024, 6:40 AM