rafnak1 / nginx-docker-ssl-proxy

Small project to learn how to use dockerized nginx as a reverse proxy with ssl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command used to generate the self-signed certificate: cd to proxy/ and

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout nginx-selfsigned.key -out nginx-selfsigned.crt

Once you have the certificate, just run ./build_and_run.sh.

To export the certificate to .pfx, just run:

openssl pkcs12 -export -out nginx-selfsigned.pfx -inkey nginx-selfsigned.key -in nginx-selfsigned.crt

Credits to Miladev95's article and kubernetesway's .conf file.

About

Small project to learn how to use dockerized nginx as a reverse proxy with ssl

License:MIT License


Languages

Language:Dockerfile 71.5%Language:Shell 28.5%