Maybe some rules in nginx.conf has been delegated to nginx-internal.conf.
this post was submitted on 04 Oct 2023
7 points (88.9% liked)
Lemmy Support
4652 readers
1 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
Can you elaborate on that? I'm not at all familiar with nginx configuration.
That was merged into lemmy-ansible on June 22. The instructions say to run:
curl https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx.conf --output /etc/nginx/sites-enabled/lemmy.conf
# put your actual domain instead of example.com
sed -i -e 's/{{domain}}/example.com/g' /etc/nginx/sites-enabled/lemmy.conf
sed -i -e 's/{{lemmy_port}}/8536/g' /etc/nginx/sites-enabled/lemmy.conf
sed -i -e 's/{{lemmy_ui_port}}/1234/g' /etc/nginx/sites-enabled/lemmy.conf
nginx -s reload
Do you mean that I need to also do something like:
curl https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx_internal.conf
--output /etc/nginx/sites-enabled/lemmy_internal.conf
I aim to do some bug fixes and feature adds come winter when I'm bored, so by all means please submit improvements to the docs as you go 🙏🙂
Happy to share my notes.
Holding off for a bit though. The changes I made seemed to move me forward but I'd like to confirm that my changes at least work for me before I start recommending them to anyone else :)