13
submitted 1 year ago by paulie420@beehaw.org to c/selfhost@lemmy.ml

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
[-] wizjenkins@lemmy.wizjenkins.com 1 points 1 year ago

I host my instance exactly like this with Nginx Proxy Manager. Here's my config:

  • Block Common Exploits and Websockets Support - on
  • Add a custom location with the following settings:
    • proxy_set_header X-Real-IP $remote_addr;
    • proxy_set_header X-Forwarded-For $remote_addr;
    • proxy_set_header X-Forwarded-Host $remote_addr;
    • real_ip_header X-Real-IP;
    • real_ip_recursive on;
  • for SSL turn on HTTP/2 Support

I had to add the custom config so that I would get the IP address of the clients and federated servers. Otherwise I was hitting rate limits on the Lemmy server.

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

Self Hosted - Self-hosting your services.

11222 readers
1 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