• 5 Posts
  • 1 Comment
Joined 1 year ago
cake
Cake day: September 27th, 2023

help-circle



  • 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