Score:0

systemctl nginx doesn't start

br flag

After updating one of the index files in website directory when I run systemctl start nginx it tells that there was an error and journalctl -xe shows:

nginx: [emerg] host not found in upstream "example.com" in /etc/nginx/sites-enabled/analytics.conf:12.

I didn't change anything about this file and when I check the site with port it works perfectly in browser, but even when I reversed index file of other website it still doesn't change at all.

Score:0
be flag
/etc/nginx/sites-enabled/analytics.conf:12.

The error says, on line 12 . You should search for "example.com" and replace it with your domain address.

Another thing, nginx , the configuration is checked if it is correct with nginx -t, and if everything is ok, the service is restarted

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.