Welcome! Log In Create A New Profile

Advanced

Unable to start NGINX

Posted by MNSRsarma 
Unable to start NGINX
August 09, 2024 12:55PM
loaded loaded (/usr/lib/systemd/system/nginx.service disabled vendor preset disabled

user directive not allowed
Re: Unable to start NGINX
August 10, 2024 12:37AM
not able add additional configuration file in nginx/conf.d/1.conf

when excecute systemctl status nginx.services and nginx -t

user directives error, after comment on user next giving error workprocess
Re: Unable to start NGINX
August 10, 2024 01:08AM
user user1;
worker_processes ;

pid /sxx/tmp/nginx.pid;
error_log /sxx/log/nginx/error.log;

events {
worker_connections 1024;
}
Re: Unable to start NGINX
August 10, 2024 03:06AM
/usr/lib/systemd/system/nginx.service; disabled; preset: disabled


"user" directive is not allowed here in /etc/nginx/conf.d/1.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 97
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready