Hi, I’m following the Ansible setup instructions located here: https://github.com/LemmyNet/lemmy-ansible
When I run the ansible-playbook command, I get this error. It’s very long and hard to read, but I think the error is related to nginx:
Also, here’s the output on my target machine when I check nginx status:
Any ideas on what I should do? After doing some Googling and asking ChatGPT, it looks like my issue might have something to do with IPv6 compatibility or something like that. Unfortunately I’m not very knowledgeable about networking stuff, so I’m not sure how to identify or fix the issue.
SOLUTION:
I solved the problem by commenting out the line listen [::]:80
in templates/nginx.conf, and also commenting out the same line on the target server in /etc/nginx/sites-available/default.
I got it. In addition to commenting out the
listen [::]:80
line in templates/nginx.conf, I also had to comment out the corresponding line on the server at /etc/nginx/sites-available/default. Thank you!!!