NGINX Stopped after renew the SSL

I get this Error
After I renew the SSL

nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: en
Active: failed (Result: exit-code) since Mon 2021-03-08 10:39:25 +03; 36s ago
Process: 1912 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process

Can you paste the complete result of systemctl status nginx ?

This does not provide enough information to debug.

1 Like

I’m not the expert but had maybe similar problem. Also, below explanation may not be accurate because I get it from my memory :pray:

In the last version, bench doesn’t support certbot-auto anymore. So the command will fail. But the certs definition in the site_config is still created. So when doing bench setup nginx and bench setup reload-nginx will fail.

My solution: check if the path to certs are all correct:

  • in the site_config.json
  • nginx.conf
  • if wildcard, also check in common_site_config.json

I hope this help.

If you share/show the forum the nginx logs, it might be easier to get an answer