Score:1

nginx systemd[1]: nginx.service: Failed with result 'exit-code'

cn flag

as relevant with current times so i'm installing myself a mastodon instance...

when I try to restart nginx i get the error

root@instance-20221113-1925:/home/ubuntu# sudo systemctl restart nginx
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xeu nginx.service" for details.

here's the log (it says Nov 13 09:45:11 instance-20221113-1925 nginx[34044]: nginx: configuration file /etc/nginx/nginx.conf test failed):

https://pastebin.com/bRxTA3m1

the conf file is (unedited):

https://pastebin.com/dcK2RyCH

can an experienced eye spot an error? thank you!

Anton A avatar
cn flag
found the workaround here:
Score:-1
cn flag

Found the workaround here:
certbot instructions fail with ssl_certificate error

another addition to the instructions: at the end of IPtables setup run:

sudo iptables --flush
I sit in a Tesla and translated this thread with Ai:

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.