Follow de error on the log messsge below
root@PBXDSI02:~# systemctl status nginx.service
× nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Mon 2024-05-13 15:00:57 WAT; 14s ago
Duration: 30min 57.473s
Docs: man:nginx(8)
Process: 93131 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILUR>
CPU: 12ms
May 13 15:00:57 PBXDSI02 systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy serv>
May 13 15:00:57 PBXDSI02 nginx[93131]: 2024/05/13 15:00:57 [warn] 93131#93131: duplicate network "::0/0", value: "0">
May 13 15:00:57 PBXDSI02 nginx[93131]: 2024/05/13 15:00:57 [emerg] 93131#93131: SSL_CTX_use_PrivateKey("/var/lib/3cx>
May 13 15:00:57 PBXDSI02 nginx[93131]: nginx: configuration file /etc/nginx/nginx.conf test failed
May 13 15:00:57 PBXDSI02 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
May 13 15:00:57 PBXDSI02 systemd[1]: nginx.service: Failed with result 'exit-code'.
May 13 15:00:57 PBXDSI02 systemd[1]: Failed to start nginx.service - A high performance web server and a reverse pro>
lines 1-15/15 (END)...skipping...
× nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Mon 2024-05-13 15:00:57 WAT; 14s ago
Duration: 30min 57.473s
Docs: man:nginx(8)
Process: 93131 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
CPU: 12ms
May 13 15:00:57 PBXDSI02 systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server...
May 13 15:00:57 PBXDSI02 nginx[93131]: 2024/05/13 15:00:57 [warn] 93131#93131: duplicate network "::0/0", value: "0", old value: "1" in /etc/nginx/sites-enabled/3cxpbx:16
May 13 15:00:57 PBXDSI02 nginx[93131]: 2024/05/13 15:00:57 [emerg] 93131#93131: SSL_CTX_use_PrivateKey("/var/lib/3cxpbx/Bin/nginx/conf/Instance1/pbxdsi.ucall.co.ao-key.pem") failed (SSL: error:05800074:x509 certificate routines::key val>
May 13 15:00:57 PBXDSI02 nginx[93131]: nginx: configuration file /etc/nginx/nginx.conf test failed
May 13 15:00:57 PBXDSI02 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
May 13 15:00:57 PBXDSI02 systemd[1]: nginx.service: Failed with result 'exit-code'.
May 13 15:00:57 PBXDSI02 systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server.