August 19, 20241 yr Hi all, hope you're fine despite the weather!? Please, I would like some advices and help about 1 thing: I deployed my first Docker recently and, as it works in HTTP or HTTPS, I want to force redirect HTTP traffic to HTTPS with my own certificates. I searched for tutos and scrolled for days on Google but I can't get any relevant answers for my case, as most are talking about 'nGinX Proxy Manager' or 'SWAG' nor 'Traefik'... and those are working with Let's Encrypt or ZeroSSL which are for Internet access. And it seems not to be usable for my situation. Maybe I'm wrong... So, inside the container CLi, I tried to modify the /etc/nginx/http.d/default.conf file, but it is replaced by an original one when the container restarts. And I don't know how to get rid of this situation. I assume that I need to create some variables? Or maybe I can change some config files inside the container? Thanks a lot for your help 👍 Best regards, CB.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.