Skip to content

Instantly share code, notes, and snippets.

Avatar

Lennart Prelle prellele

View GitHub Profile
View prosody.cfg.lua
VirtualHost "despora.de"
authentication = "diaspora"
auth_diaspora = { driver = "MySQL", database = "diaspora", username = "diaspora", password = "pass", host = "192.168.20.10" }
modules_enabled = {
"diaspora_contacts";
};
@prellele
prellele / gist:1825744
Created Feb 14, 2012
Using StartSSL Certs with Nginx-Webserver
View gist:1825744

NOTE: You can check, if your config here:
http://www.sslshopper.com/ssl-checker.html

Decrypt the private key using the password you entered when you created your key:
openssl rsa -in ssl.key -out /etc/nginx/conf/ssl.key

Protect your key from prying eyes:
chmod 600 /etc/nginx/conf/ssl.key

You can’t perform that action at this time.