Ошибка nginx
Добавлено: Вт фев 22, 2022 5:27 pm
Здравствуйте
Подскажите после обновления перестал ngynx запускаться
● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2022-02-22 19:12:47 EET; 27ms ago
Process: 759 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=1/FAILURE)
Process: 757 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)
Feb 22 19:12:47 domen.com systemd[1]: Starting The nginx HTTP and reverse proxy server...
Feb 22 19:12:47 domen.com nginx[759]: nginx: [emerg] unknown directive "ModSecurityEnabled" in /etc/nginx/nginx.conf:102
Feb 22 19:12:47 domen.com nginx[759]: nginx: configuration file /etc/nginx/nginx.conf test failed
Feb 22 19:12:47 domen.com systemd[1]: nginx.service: control process exited, code=exited status=1
Feb 22 19:12:47 domen.com systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
Feb 22 19:12:47 domen.com systemd[1]: Unit nginx.service entered failed state.
Feb 22 19:12:47 domen.com systemd[1]: nginx.service failed.
Подскажите после обновления перестал ngynx запускаться
● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2022-02-22 19:12:47 EET; 27ms ago
Process: 759 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=1/FAILURE)
Process: 757 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)
Feb 22 19:12:47 domen.com systemd[1]: Starting The nginx HTTP and reverse proxy server...
Feb 22 19:12:47 domen.com nginx[759]: nginx: [emerg] unknown directive "ModSecurityEnabled" in /etc/nginx/nginx.conf:102
Feb 22 19:12:47 domen.com nginx[759]: nginx: configuration file /etc/nginx/nginx.conf test failed
Feb 22 19:12:47 domen.com systemd[1]: nginx.service: control process exited, code=exited status=1
Feb 22 19:12:47 domen.com systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
Feb 22 19:12:47 domen.com systemd[1]: Unit nginx.service entered failed state.
Feb 22 19:12:47 domen.com systemd[1]: nginx.service failed.