Man, you did my day! Thank you. Finally someone explained getting ssl certificate details in very clear way for beginners. Really useful tutorial about setup nginx, ssl, https with docker
@cuongchung8836
3 жыл бұрын
Thank you very much, you have saved my day from struggling with this situation. Hope your channel will grow up soon.
@larswo
11 ай бұрын
Great Work! Great Explanation! 5 of 5 Star rating 👍
@husamburhandev
4 ай бұрын
Very useful ❤
@DevOpsKey1
2 жыл бұрын
but you dont use auto-ssl update.
@nathanc2396
Жыл бұрын
Thank you!
@EugenioCarocci
3 жыл бұрын
This was very interesting! I’d like to create a Docker image that is ready to go without doing anything manual on it once deployed. How would you do something like that?
@huakun
3 жыл бұрын
I already made such an image: hub.docker.com/repository/docker/huakunshen/nginx-certbot
@EugenioCarocci
3 жыл бұрын
@@huakun Tomorrow I’ll look at it, you might be my life saver :D
@TheEbbemonster
2 жыл бұрын
I think what he ment is where you can run certbot while building your image, but I cannot get that to work.
@nafcho1
3 жыл бұрын
Thank you very much!
@MinhNhat-pk8us
3 жыл бұрын
thank you so much guy, very very much
@tafadzwachoga8281
3 жыл бұрын
Thanks a lot mate.
@stsbmu7169
Жыл бұрын
what happens if container restarts?
@huakun
11 ай бұрын
It will still work. You can also mount the ssl certificate to host machine so you don’t need to get a new one later.
@yakuparslan575
3 жыл бұрын
im looking for a method to control the front end cache somehow to force it for redownload after i publish a new version of my files. for example not only staticfiles css js also having html view files that should be re-downloaded. any help is welcome :)
@humbleyane9610
Жыл бұрын
hi daddy❤❤❤❤
@tejasc400
3 жыл бұрын
Thanks
@silicongen
2 жыл бұрын
THANKYOU
@trueleowdeo
2 жыл бұрын
u did it manually. I thought it would be automated
@fbng
3 жыл бұрын
what keyboard is that
@huakun
3 жыл бұрын
keychron k8
@ben8140
2 жыл бұрын
@@huakun Love the sound! May I ask what are the switch?
@huakun
2 жыл бұрын
@@ben8140 Gateron red which comes with keychron k8
@ben8140
2 жыл бұрын
@@huakun Nice thanks! I see the k8 pro is soon releasing
@huakun
2 жыл бұрын
@@ben8140 Yes, I really like the new color.
@seoonlyRU
2 жыл бұрын
senQ
@MinhNhat-pk8us
3 жыл бұрын
everyone can config dockerfile FROM node:14-stretch-slim as build WORKDIR /app COPY . /app RUN npm install && npm run build FROM ubuntu:18.04 RUN apt update -y \ && apt install nginx -y \ && apt-get install software-properties-common -y \ && add-apt-repository ppa:certbot/certbot -y \ && apt-get update -y \ && apt-get install python-certbot-nginx -y \ && apt-get clean COPY --from=build /app/build /usr/share/nginx/html EXPOSE 80 STOPSIGNAL SIGTERM CMD ["nginx", "-g", "daemon off;"] => we not build and push to server we use docker to build app - And in docker docker-compose.yml remove volumes line - ./build:/usr/share/nginx/html -> it useful better
Пікірлер: 28