this post was submitted on 10 Jun 2023
7 points (100.0% liked)

Self Hosted - Self-hosting your services.

11194 readers
2 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

I've been working with the two suggested LemmyNet installation methods; Docker and Ansible. Neither are too wild of a setup, but they aren't plug and play docker-compose-like, either.

I want to run a LemmyNet on a subdomain; lemmy.domain.com, and use nginx-proxy-manager to point traffic in the right direction, but it will be on the same local IP... some port changes will need to be made.

Is anyone running their own instances? Have suggestions or tips with things that helped you lean up a lemmy.subnet?

Cheers!!

  • pAULIE42o
  • . . . . . . . . . . .
  • /s
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago

I am fairly sure you can customize the nginx.conf that is bundled with the docker installation method, to add some virtual host directives to add any subdomains you want and forward to the appropriate backend.

You could also run another nginx instance on your host to handle all the subdomain virtual hosts and forward to the lemmy containers. It’s a bit more complicated but definitely should be possible. You will have to do the research and figure it out via trial and error though, unfortunately. Not a lot of documentation and how-to articles out there yet. This is all still fairly new, relatively speaking.


Note: posted using mlem for iOS, sorry if this comment is messed up in any way.