correct message after restarting nginx?

hi

I used two different tutorials to install nginx. LEMP and Redmine one.

I made the LEMP one work and after restarting nginx I used get message with something about testing and that new config was or wasn't loaded successfully.

Now I get

root@server:~# /etc/init.d/nginx reload 
Reloading nginx configuration: nginx.

It seems to me that init script is exactly the same like was before.

any idea how I can get the old more detailed message after restarting nginx?

Thank you

R.

2 Replies

Check the log files? Usually they're in or under the /var/log directory.

I was after configtest (nginx -t) before actual reload

Not sure why it wasn't run after secon nginx installation.

Works now nicely…

Thank you

R.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct