modify installer for new config

This commit is contained in:
t3chn0m4g3
2016-08-01 13:25:58 +00:00
parent 12842527bb
commit 62b349eab3
15 changed files with 261 additions and 369 deletions

View File

@ -0,0 +1,12 @@
#!/bin/bash
# Got root?
myWHOAMI=$(whoami)
if [ "$myWHOAMI" != "root" ]
then
echo "Need to run as root ..."
exit
fi
openssl req -nodes -x509 -sha512 -newkey rsa:8192 -keyout "nginx.key" -out "nginx.crt" -days 3650