Skip to content

Instantly share code, notes, and snippets.

View mattems's full-sized avatar
🤝

Matt Trimarchi mattems

🤝
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mattems on github.
  • I am mattems (https://keybase.io/mattems) on keybase.
  • I have a public key ASDDGXgELr3wd9mfEeYEpOkWXdMrCBg3IzkPITe4ck8tUgo

To claim this, I am signing this object:

@mattems
mattems / after.sh
Last active August 30, 2016 16:21 — forked from cluppi/after.sh
#!/bin/sh
# Config for SSL.
echo "--- Making SSL Directory ---"
mkdir /etc/nginx/ssl
echo "--- Copying $i SSL crt and key ---"
openssl req -nodes -new -x509 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt -subj "/C=US/ST=NY/L=NYC/O=Dis/CN=www.example.com"
echo "--- Turning SSL on in nginx.conf. ---"