• 6 Posts
  • 125 Comments
Joined 2 年前
cake
Cake day: 2024年3月19日

help-circle














  • You get a domain name, and use an A record to point it towards your server’s public IP address.

    You tell nginx to forward requests to a given domain. For instance, you could tell nginx to forward requests to foo.bar.com to 127.0.0.1:1337. To do this:

    http {
        server {
            server_name foo.bar.com;
            listen 80;
            
            location / {
                proxy_pass http://127.0.0.1:1337$request_uri;
            }
        }
    }
    

    Note that this is a very basic setup that doesn’t have HTTPS or anything. If you want an SSL certificate, look into Let’s Encrypt and Certbot.

    Also, the service you’re hosting (which I’m not familiar with) may have an example reverse proxy config you should use as a starting point if it exists.


  • Been self hosting email for a good while now and it’s been largely painless. My emails are not getting marked spam either. Although my only outgoing mails are to FOSS mailing lists and occasionally to individuals, not for anything business related.

    I would say that if self hosting email sounds like something you’d be interested in, then it probably is worthwhile for you. I like being able to configure my mail server exactly the way I want it, and I have some server side scripts I wrote for server side mail processing, which is useful as I have several different mail clients so it makes sense to do processing on the server rather than trying to configure it on my many clients. It definitely falls into the “poweruser” category of activities but I’ve had fun and I enjoy my digital sovereignty.


  • A flip phone/dumbphone would sort of be mutually exclusive with my use case. I use my smartphone nearly exclusively as a lightweight mobile computer for web browsing, SSHing into my server, and messaging over internet (not SMS). I rarely use the “phone” features of my phone, i.e. phone calls and SMS. So I’d be losing out over the features I do use, in favour of features I don’t use.

    If you’re being distracted by your phone and a dumbphone works for you, good on you. I think most people are like me and use their phones as a small mobile computer rather than a phone though, in which case distractions are best handled with one of the many apps/browser add-ons/etc that block websites or apps.