Help Building Lemmy [continued]

follow up from: lemm.ee/post/9562431

I ended up starting over on a t2.medium with Ubuntu and Lemmy 0.18.5.

Still following: join-lemmy.org/docs/…/from_scratch.html

I had to make a few adjustments but that got me as far as:

nginx -s reload

But when I try to point a browser at my host, I don’t get a config screen, just a JSON doc. I haven’t been able to find anything in the logs that seems suspicious.

The only thing I did notice was that “id”, “inbox”, and “outbox” all have the wrong value. They all use:

lemmy.[mydomain]

instead of

lemmytests.[mydomain] (which is the correct name)

@rikudou Was super helpful on my last post. I hope I can invoke their favor again.

nmtake,

Maybe some rules in nginx.conf has been delegated to nginx-internal.conf.

aprentic,

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:


<span style="color:#323232;">curl https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx.conf --output /etc/nginx/sites-enabled/lemmy.conf
</span><span style="color:#323232;"># put your actual domain instead of example.com
</span><span style="color:#323232;">sed -i -e 's/{{domain}}/example.com/g' /etc/nginx/sites-enabled/lemmy.conf
</span><span style="color:#323232;">sed -i -e 's/{{lemmy_port}}/8536/g' /etc/nginx/sites-enabled/lemmy.conf
</span><span style="color:#323232;">sed -i -e 's/{{lemmy_ui_port}}/1234/g' /etc/nginx/sites-enabled/lemmy.conf
</span><span style="color:#323232;">nginx -s reload
</span>

Do you mean that I need to also do something like:

curl raw.githubusercontent.com/…/nginx_internal.conf
–output /etc/nginx/sites-enabled/lemmy_internal.conf

artaxadepressedhorse,
@artaxadepressedhorse@lemmyngs.social avatar

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 🙏🙂

aprentic,

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 :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • Ask_kbincafe
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines