development configuration

+ self-signed cert
+ support ipv4 in nginx vhost
I hope this will not break someone's config