Skip to content

Instantly share code, notes, and snippets.

View prellele's full-sized avatar
🐑
Shearing

Lennart Prelle prellele

🐑
Shearing
View GitHub Profile
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 February 14, 2012 10:48
Using StartSSL Certs with Nginx-Webserver

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