Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
create a self-signed ssl certificate
# openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/nginx.key -out /etc/nginx/ssl/nginx.crt
ssl_certificate /etc/nginx/ssl/nginx.crt;
ssl_certificate_key /etc/nginx/ssl/nginx.key;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment