How to Enable HTTPS on your Docker Application

Related blog post: winstonkotzan.com/blog/2019/03...
Background Music:
"Uniq - Art of Silence" is under a Royalty Free music license.
Music promoted by BreakingCopyright: • 🤫 Ambient Music (No Co...
Contact links: Uniq / uniqofficial
BreakingCopyright Twitter: / breakingcopy
Stock Footage:
pixabay.com/videos/security-d...
coverr.co/videos/Procrastination

Пікірлер: 33

  • @Brianle180
    @Brianle1803 жыл бұрын

    I wish I can give you more than one like. Great work!

  • @christianangelomsulit3759
    @christianangelomsulit37593 жыл бұрын

    This helps tutorial is really helpful! thanks.

  • @lawsnewton
    @lawsnewton3 жыл бұрын

    Nice guide!

  • @portanchorllc4561
    @portanchorllc45612 жыл бұрын

    Winston, I followed your tut and everything is working great for the most part. I'm having an issue in which the CSS/JS is not loading for my docker Wordpress application. So the actual website is loading, but I can't log in to the admin, nor can I see styles nor is any JS running. I did some perusing with Chrome Tools and I'm getting a bunch of blocked CSS and JS files with the message (blocked: mixed-content). I looked into this and someone told me it may have something to do with those files not coming through the SSL, hence them being blocked. I have no idea what else to do about this. If you could help that would be great, I've spent a month already trying to get Docker to work with SSL.

  • @ckrisl8431
    @ckrisl8431 Жыл бұрын

    Merci beaucoup, best guide !!! +1 subscriber !!!

  • @TheBlackMamba_Studios
    @TheBlackMamba_Studios3 жыл бұрын

    With this tutorial can I make my ctf.d installed in a Docker container more secure? Thanks!

  • @johnu9360
    @johnu9360 Жыл бұрын

    I have used VM there I install and run the docker , and I kept the certs n keys in etc /docker/certs.d/ both key and certificate I kept there, and I have run a image in name nginx and configured yml compose file , but getting error that doeamon error , can't pull the image, pls help me out

  • @Jason-ju7df
    @Jason-ju7df3 жыл бұрын

    Can you do a video about the Pros/Cons of Docker NGINX Containers vs NGINX directly on Linux

  • @WinstonCodesOn

    @WinstonCodesOn

    3 жыл бұрын

    That gets a little more into performance benchmarking than I'm ready for at the moment. I'd have to design a whole experiment to see how many requests get served in a given time frame. I like the suggestion though and will keep it in mind. Thanks!

  • @jackkitley

    @jackkitley

    3 жыл бұрын

    @@WinstonCodesOn I would also like to know the correct way to do this. I have a situation where we have 64 urls that point to the same project as its multi-tenanted. I wanted to house nginx inside docker for these but struggling to get my head around certificates into the nginx container. Would like to do things the correct way

  • @jackkitley

    @jackkitley

    3 жыл бұрын

    For example. on a VM i have 5 different projects with 5 different urls for each project. We ran into a problem where one of the projects consumed all the web workers and this brought down all the other projects. The idea was to dockerize these projects with nginx so everything would be housed within so if one container fails it wont pull down the rest. I dont know if you have any advice in this regard? thanks

  • @zor5559
    @zor55594 жыл бұрын

    As far as I know, Nginx is written in C and isn't related to Node.js.

  • @WinstonCodesOn

    @WinstonCodesOn

    4 жыл бұрын

    You're right. I was mistaken. Easy to associate it because it's paired a lot in a Node.js stack.

  • @Goryglory0209
    @Goryglory02092 жыл бұрын

    One of the best videos on SSL with docker. Thank you. Earned a Sub. Any way on having pointing it to different docker containers running different ports

  • @WinstonCodesOn

    @WinstonCodesOn

    2 жыл бұрын

    I'm planning on doing an updated version of this for the deployment process of the e-voting application series. It will have me setting up a secondary site on that same server, running in its own Docker container. Stay tuned!

  • @Dima-qz4su
    @Dima-qz4su2 жыл бұрын

    funny how you Lainux :D but thanks, ur guide useful

  • @levitica2017
    @levitica201719 күн бұрын

    Great! however any phishing site would install SSL too :)

  • @WinstonCodesOn

    @WinstonCodesOn

    19 күн бұрын

    Correct. SSL only protects the communications between you and the server through encryption. You can still visit the wrong website and mistakenly share your personal data.

  • @everdomeio7855
    @everdomeio78553 жыл бұрын

    how do i change the default page of nginx? For example my files of the website are in html/Project, and im using flask module?

  • @yurihonorato161
    @yurihonorato1617 ай бұрын

    doesn't work with nginx installed via docker :(

  • @WinstonCodesOn

    @WinstonCodesOn

    7 ай бұрын

    No, I don't see the point of running NGINX inside of Docker for this kind of setup. The NGINX container would have to forward the requests to somewhere.... wut r u gonna run all your containerized apps within the NGINX container? The whole point of this NGINX setup is that it acts as a load balancer and proxy to forward all the requests to the right containers running on the host machine. If you wanna run NGINX as a container then you need to set up Docker networking so that it can see all the other containers running on your server and forward the requests to them. But, I don't see any performance advantage to doing it that way.

  • @markcuello5
    @markcuello5 Жыл бұрын

    HELP

  • @alidelkhosh3422
    @alidelkhosh34223 жыл бұрын

    background music sucks!

  • @WinstonCodesOn

    @WinstonCodesOn

    3 жыл бұрын

    Thanks for the feedback. I'm getting better at it! Maybe will re-release this one with some updates.

  • @kieroncairns7981

    @kieroncairns7981

    3 жыл бұрын

    @@WinstonCodesOn I actually quite like the background music...

  • @phage6982

    @phage6982

    3 жыл бұрын

    Love the background music!

  • @portanchorllc4561

    @portanchorllc4561

    2 жыл бұрын

    @@WinstonCodesOn I love the background music too.

  • @yurihonorato161

    @yurihonorato161

    7 ай бұрын

    i love the background music too! haha @@WinstonCodesOn