Hello
After i installed new clean DA server with latest version of services from custombuild, i got this issue but before that i could use apache_nginx as web server without any problem. There are no custom configuration for httpd. On 2 different servers i test it and got same result. What can i do about it?
-- Unit nginx.service has begun starting up.
Sep 07 19:21:06 server.site.com nginx[8164]: nginx: [emerg] unknown directive "ServerRoot" in /usr/local/directadmin/data/users/admin/nginx.conf:16
Sep 07 19:21:06 server.site.com nginx[8164]: nginx: configuration file /etc/nginx/nginx.conf test failed
Sep 07 19:21:06 server.site.com systemd[1]: nginx.service: control process exited, code=exited status=1
Sep 07 19:21:06 server.site.com systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
If i remove this line from each domain's nginx config, it will be resolve but after a few minutes if i restart the service still getting same issue and sites won't work anymore.
I'll be glad if you can help me in this way.
After i installed new clean DA server with latest version of services from custombuild, i got this issue but before that i could use apache_nginx as web server without any problem. There are no custom configuration for httpd. On 2 different servers i test it and got same result. What can i do about it?
-- Unit nginx.service has begun starting up.
Sep 07 19:21:06 server.site.com nginx[8164]: nginx: [emerg] unknown directive "ServerRoot" in /usr/local/directadmin/data/users/admin/nginx.conf:16
Sep 07 19:21:06 server.site.com nginx[8164]: nginx: configuration file /etc/nginx/nginx.conf test failed
Sep 07 19:21:06 server.site.com systemd[1]: nginx.service: control process exited, code=exited status=1
Sep 07 19:21:06 server.site.com systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
If i remove this line from each domain's nginx config, it will be resolve but after a few minutes if i restart the service still getting same issue and sites won't work anymore.
I'll be glad if you can help me in this way.