No "ssl_certificate" is defined for the "listen ... ssl" directive

So after stopping nginx, removing all other config

nginx -t now says

kingsy# nginx -t
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/sites-enabled/dev.kingsy.co.uk:9
nginx: configuration file /etc/nginx/nginx.conf test failed.

thanks
alexsunny

1 Like

Please show file:

1 Like

thanks my issue has been fixed.

Let's have a look at this file:

And, do you recall making any changes to it?
Or any other significant changes (over the past couple of weeks)?

1 Like