503 ErrorError: self signed certificate

Im having this error

503 ErrorError: self signed certificate\n at TLSSocket. (_tls_wrap.js:1108:38)\n at emitNone (events.js:105:13)\n at TLSSocket.emit (events.js:207:7)\n at TLSSocket._finishInit (_tls_wrap.js:638:8)\n at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:468:38)

Heres how my conf look like http://dpaste.com/00V1XW4

heres my snippets:

jonjon@jonjon:/etc/nginx/conf.d$ cat /etc/nginx/snippets/self-signed.conf
ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt;
ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key;

http://dpaste.com/27TGBTP