• 0 Posts
  • 17 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle





  • Hi there!

    TL;DR: probably have an nginx misconfiguration. Check the nginx logs for errors.


    You don’t need to install and run nginx on the host. It has its own container in the docker-compose.yml which gets started up on docker-compose up -d

    If both instances of nginx are trying to bind to the same port, one will start and one will fail.

    Is the lemmy proxy nginx docker container running? Check with: docker ps or docker container ls. If the lemmy nginx proxy container isn’t running, try stopping the host instance of nginx (systemctl nginx stop) and restart docker lemmy (docker-compose down, docker-compose up -d), then try to access your site again.


  • I think the safest option is to not host from your home network. If you aren’t up to date on security patches, you could potentially expose a lot of data from an insecure server running inside your network.

    There are precautions you can take, like isolating any external facing servers from the rest of your network, for example, but I generally recommend using a hosted service instead.





  • You might be able to setup a mod_rewrite rule to load a specific file path or other url based on the URL path, but a subdomain would probably be easier/cleaner.

    From Apache mod_rewrite docs:

    The mod_rewrite module uses a rule-based rewriting engine, based on a PCRE regular-expression parser, to rewrite requested URLs on the fly. By default, mod_rewrite maps a URL to a filesystem path. However, it can also be used to redirect one URL to another URL, or to invoke an internal proxy fetch.

    Just remember the old adage about regular expressions: when you use a regular expression to try to solve one problem, you create two problems.

    A subdomain would likely be cleaner and easier.






  • Very true. It would be sad to build up a persona on a smaller instance to then have it go dark and take your user with it. Other than losing your collection of “upvotes,” you can just recreate a new user with the same display name on another instance and keep going. 👍

    Holy crap, you can do Slack style emoticons? Huzzah! 🎉


  • slashzero@hakbox.socialtoMemes@lemmy.mlcurrent lemmy status
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    1 year ago

    It’s at the top of the list on join-lemmy.org’s popular server list, next to lemmy.world and beehaw.org, of course new users will sign up on the more popular ones. Plus, a few posts on reddit called out these three which set everything in motion.

    Once folks start to understand how it works, they might start to sign up on other ones, for a “cooler handle @ address” for their user, or register a domain and start their own instance like I did.

    Anyway, welcome aboard, right?