asklemmy Asklemmy What was your first operating system or Linux Distribution?
Jump
  • jax jax 3 months ago 100%

    Desktop: Windows XP

    Linux: Probably Raspbian on a Pi 2 b

    Tech has come a long way since then lol

    2
  • jax jax 4 months ago 100%

    Currently using Nextcloud AIO and it's pretty decent, though I've got 16 vCPU and 32 GB of RAM allocated to it right now, though it's only using 10% CPU and ~7 GB of RAM at the moment.

    I think it takes a while to warm up once you start adding data to it, especially depending on the plug-ins you add and amount of data.

    1
  • homelab Homelab Teachings from years of HomeLab
    Jump
  • jax jax 4 months ago 100%

    Yeah it very adds some extra complexity and it’s more important for if you are hosting in public clouds anyways IMO.

    2
  • homelab Homelab Teachings from years of HomeLab
    Jump
  • jax jax 4 months ago 100%

    That makes sense!

    Have you played with anything like Istio to secure in-cluster communications? I think Hashicorp Consul can do something similar to encrypt service to service communications.

    2
  • homelab homelab Teachings from years of HomeLab
    Jump
  • jax jax 4 months ago 100%

    Yeah for sure! I like to post about both the positive and negative experiences. I find things like that to be a valuable learning tool.

    From a security perspective, it’s important to understand the systems you’ve implemented and test that they are working as expected. I think in that example if I had tested user sign-up sooner I could have caught the configuration issue.

    It's also important to have good observability into your system, both metrics and logs. Metrics to help detect if something weird is happening (increased resource usage could point to ransomware or crypto mining) and logging to track down what happened and see what systems are impacted.

    From a technical controls standpoint, it's good practice to segregate your applications from other systems and control planes like IPMI and switching/routing admin interfaces. It's also good to try to limit holes in your firewall. In this cluster, I have Cloudflare Tunnels setup so that I don't have to open ports to access web servers, and I get access to their WAF tooling. You could do something similar with a VPS running WireGuard, CrowdSec, and a reverse proxy.

    3
  • homelab homelab Teachings from years of HomeLab
    Jump
  • jax jax 4 months ago 100%

    Not at all! I agree, and COVID didn't help at all. I do want to try and be accurate though :p

    3
  • homelab homelab Teachings from years of HomeLab
    Jump
  • jax jax 4 months ago 100%

    Its possible that I estimated the timeline wrong 😅

    I’ve added a note to the blog, thanks!

    4
  • selfhosted Selfhosted Fediverse Apps on Kubernetes?
    Jump
  • jax jax 5 months ago 100%

    I should look into how to do that on my instance probably. Pictrs always seemed like a bit of a security nightmare.

    1
  • homelab Homelab Teachings from years of HomeLab
    Jump
  • jax jax 5 months ago 100%

    Ah okay that makes sense, you’re using the internal cluster domain to route to services

    2
  • homelab homelab Teachings from years of HomeLab
    Jump
  • jax jax 5 months ago 100%

    Glad I could provide some insight! It’s not something I see talked about too much even on Reddit. Let me know if you have any questions or things I could flesh out more in the article!

    I’m still relatively new to ActivityPub and Federated systems in general, though I’ve had my Lemmy and Mastodon instances for 8+ months now I don’t use them as much as I was expecting, sadly. Running your own instance can be very isolating and any content you put directly on your instance probably won’t gain much traction (at least on Mastodon, Lemmy seems to fair a bit better).

    It’s one of a handful of blogs that I’ve run over the last couple of years, the other one that’s still online is HomeLab.Blog. I actually meant to run a federated blog platform like WriteFreely, but they don’t have a production docket image, and I saw that Ghost is planning on adding ActivityPub support.

    This article might be more appropriate on that blog and an article about my experience with Federated systems might be more on-topic on this one. Oops.

    5
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearHO
    homelab jax 5 months ago 100%
    Teachings from years of HomeLab blog.cloudhub.social

    A slightly less technical post - these are some things I've learned from having a HomeLab for over a decade.

    44
    9
    homelab Homelab Teachings from years of HomeLab
    Jump
  • jax jax 5 months ago 100%

    Oh, dev namespaces are a good idea. Do you have a dev domain then too?

    2
  • homelab Homelab Teachings from years of HomeLab
    Jump
  • jax jax 5 months ago 100%

    Thanks! I find most of the issues occur during upgrades to services, but that is to be expected.

    My internet service is usually more of an issue than most services I run. Though some things take longer to get tweaked and running well and that can cause issues.

    2
  • cybersecurity Cybersecurity Stealing cookies: Researchers describe how to bypass modern authentication
    Jump
  • jax jax 5 months ago 100%

    Yeah, this seems like old news - cookies can be stolen, and FIDO doesn't change that unless you are prompting the hardware token for validation with every request (which isn't feasible for most things, though might be a good idea for sensitive actions).

    4
  • selfhost Self Hosted - Self-hosting your services. Release Paperless-ngx v2.8.1 · paperless-ngx/paperless-ngx · GitHub
    Jump
  • jax jax 5 months ago 100%

    What's everyone's workflows with these systems? Do you catalog both physical and digital documents? Where do you store the documents?

    2
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearHO
    Homelab jax 5 months ago 100%
    Teachings from years of HomeLab blog.cloudhub.social

    Starting a new Cloud/HomeLab blog at this domain - let me know if you want a contributor invite!

    19
    10
    selfhosted Selfhosted Fediverse Apps on Kubernetes?
    Jump
  • jax jax 5 months ago 100%

    I disabled Pictrs around the time of CSAM attacks and have yet to bother enabling it again

    Uhh… what?? When did that happen? I thought pictrs was a requirement also…

    1
  • selfhosted Selfhosted Fediverse Apps on Kubernetes?
    Jump
  • jax jax 5 months ago 100%

    Huh, do you have your lemmy config documented somewhere? I keep running into issues with it and I'm not sure which component exactly is failing, but it's annoying. I'm using this helm chart currently: ananace/lemmy It works, but I don't have pict-rs setup in HA either.

    1
  • selfhosted Selfhosted Fediverse Apps on Kubernetes?
    Jump
  • jax jax 5 months ago 100%

    They store the secrets in a file? Gross. What a poor way of handling that. Pretty sure environment variables would be more secure. Especially in Kubernetes.

    1
  • selfhosted Selfhosted Fediverse Apps on Kubernetes?
    Jump
  • jax jax 5 months ago 100%

    Yeah, I used to host a Matrix instance - could do that for this one too.

    The issue is more about setting up the Kubernetes manifests and templating them. I usually use the chart's built-in postgres and redis config, though using an operator would make it more scalable for sure.

    I'm using Authentik for auth, but I do also like Keycloak.

    2
  • selfhosted Selfhosted Fediverse Apps on Kubernetes?
    Jump
  • jax jax 5 months ago 100%

    I've seen that around, but I prefer to run my own services instead of relying on a ready-built system like that. I find they don't offer that much customization options usually.

    1
  • selfhosted Selfhosted Fediverse Apps on Kubernetes?
    Jump
  • jax jax 5 months ago 66%

    I think both of the ones I mentioned have docker-compose files, which I think I can convert with kompose convert? I guess from there I would follow your steps and then start parameterizing it once it's running properly.

    Thanks! I think I'll start trying out PixelFed tomorrow.

    1
  • selfhosted Selfhosted Fediverse Apps on Kubernetes?
    Jump
  • jax jax 5 months ago 100%

    That's actually super helpful! I haven't done much custom Helm chart-ing, and was kinda lost where to start. That really helps break the process down, and the tip about skipping state to start is very wise.

    2
  • selfhosted Selfhosted Fediverse Apps on Kubernetes?
    Jump
  • jax jax 5 months ago 100%

    Yeah, that's the pain point - building and maintaining the charts.

    Also, I know the charts likely wouldn't have to be super complex, but I'm used to working with Bitnami's charts that are massively complex - I just don't have the time to go that in-depth.

    1
  • selfhosted Selfhosted Fediverse Apps on Kubernetes?
    Jump
  • jax jax 5 months ago 100%

    Oh, I know I could get them to run with enough work. I just don't have that much time to spend on initial implementation and upkeep of the charts.

    I'm using FluxCD, which I believe can do deployments of plain Kubernetes manifests, but that still requires a decent amount of overhead to keep up to date.

    1
  • selfhosted
    Selfhosted jax 5 months ago 87%
    Fediverse Apps on Kubernetes?

    cross-posted from: https://lemmy.cloudhub.social/post/347779 > I am running a Kubernetes cluster for this domain, and I'm looking at more services to run (right now I have Mastodon and Lemmy). > > I was considering WriteFreely and PixelFed, but they don't seem to have an easy solution for running on Kubernetes (WriteFreely doesn't even have a production-ready docker image). > > Is anyone else running federated services in their lab? Do you run any of them on Kubernetes?

    18
    25
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearHO
    Homelab jax 5 months ago 91%
    Fediverse Apps on Kubernetes?

    I am running a Kubernetes cluster for this domain, and I'm looking at more services to run (right now I have Mastodon and Lemmy). I was considering WriteFreely and PixelFed, but they don't seem to have an easy solution for running on Kubernetes (WriteFreely doesn't even have a production-ready docker image). Is anyone else running federated services in their lab? Do you run any of them on Kubernetes?

    10
    0
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearHO
    Homelab jax 5 months ago 100%
    Configuring Istio with OIDC authentication https://homelab.blog/blog/devops/Istio-OIDC-Config/

    Reposting some of my older popular blog posts. This one is probably out of date, I doubt the configuration examples still work as they did back in 2020.

    7
    0
    homelab Homelab Internal SMTP relay?
    Jump
  • jax jax 11 months ago 100%

    I think I'm going to end up using docker-mailserver for this.

    1
  • homelab Homelab Internal SMTP relay?
    Jump
  • jax jax 1 year ago 100%

    That seems really resource heavy. 4 Gb of RAM for an SMTP relay?

    Other than that it looks pretty great.

    1
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearHO
    Homelab jax 1 year ago 100%
    Internal SMTP relay?

    I have a need for an internal SMTP relay inside a kubernetes cluster. What is everyone using for docker/kubernetes SMTP relays these days? Goal is to have all internal services route emails through this relay and it in turn sends the emails out via SendGrid, should be a fairly easy task, just not something I've done for a few years.

    6
    3
    homelab Homelab We're Back! & What's in your homelab August 2023
    Jump
  • jax jax 1 year ago 100%

    Having a rack is a massive QOL improvement IMO, I originally had a stack of rackmount servers in an IKEA Lack (LackRack), and it was okay, but the rack is so much nicer.

    The only thing I wish I had done was get an enclosed rack to help with noise and dust, rather than just a startech 4 post from Amazon.

    And that's a lot of awesome stuff for free!

    2
  • homelab Homelab We're Back! & What's in your homelab August 2023
    Jump
  • jax jax 1 year ago 100%

    Ohh that’s exciting!

    Any big hardware plans with the new house? Planning on running ethernet/fiber to the rooms?

    1
  • homelab Homelab We're Back! & What's in your homelab August 2023
    Jump
  • jax jax 1 year ago 100%

    Not many changes in my lab this month, other than figuring out that the lemmy issues were related to liveness checks timing out due to the required DB migration on startup that Lemmy implements.

    In hindsight, this makes a lot of sense.

    1
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearHO
    Homelab jax 1 year ago 71%
    We're Back! & What's in your homelab August 2023

    Hey all! We're back after a couple of weeks of downtime on Lemmy due to some DB migration issues + Kubernetes liveness timeouts, and general lack of time to troubleshoot. For the latest status, you can view the status page for the cluster here: https://cloudhub-social.github.io/Status/ We are also well overdue for a What's in Your Homelab for the month of August, so we'll use this post for that as well!

    3
    7
    homelab Homelab Uptime Robot alternatives for status pages and up/down monitoring?
    Jump
  • jax jax 1 year ago 100%

    Odd, is that federation issue on my end?

    2
  • selfhosted Selfhosted What's your uptime record?
    Jump
  • jax jax 1 year ago 71%

    Just because it’s not public facing doesn’t mean that it’s not an issue. It might be less of an issue, but it is still a massive vulnerability.

    All it takes is one misconfiguration or other vulnerable system to use this as a jumping off point to burrow into other systems. Especially if this system has elevated access to sensitive locations within your network.

    3
  • selfhosted Selfhosted What's your uptime record?
    Jump
  • jax jax 1 year ago 17%

    🤮

    -18
  • homelab homelab Fanless NAS
    Jump
  • jax jax 1 year ago 100%

    Your best bet is going to be a 4U chassis. You can get 2U chassis with consumer PSUs, but they are going to be more expensive and very limited in terms of parts that will work. You can easily find 4U chassis that support regular ATX internals with proper mounting holes for the PSU and mobo standoffs.

    There are some small SuperMicro servers that use Xeon-D (I think? Very low power Xeons that are passively cooled), but you're pretty vendor locked in with those.

    Do not use external drives for this. TrueNAS doesn't support it, and you'll be limiting your speeds to that of the USB bus, which is not nearly as fast. Pointless going SSDs if you are using external drives.

    1
  • memes Memes Meanwhile, in Canada...
    Jump
  • jax jax 1 year ago 100%

    … how the hell have I never heard of this?

    1
  • asklemmy Asklemmy How secure are messages in Lemmy?
    Jump
  • jax jax 1 year ago 0%

    I don't think it's worth the devs' time to implement e2ee for DMs, there are lot of other things that need to be fixed first. Not only that, but if it's implemented in Lemmy, it'd make Lemmy non-interoperable to DM users from other federated platforms such as Mastodon or KBin. Which, I'm not sure works right now, but in theory would be possible.

    Also, yes, that is generally the case.

    0
  • asklemmy Asklemmy How secure are messages in Lemmy?
    Jump
  • jax jax 1 year ago 100%

    I highly doubt it will, there are many much better solutions available, and as it says when DM’ing someone, you can you Matrix for e2ee. In fact, there is even an option in the profile settings to provide your Matrix username.

    Implanting e2ee within DMs is massive scope creep and also really difficult to do properly.

    The general rule is basically “never implement your own encryption/security, just use what’s already been implemented by people who actually know encryption/security”.

    1
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearHO
    Homelab jax 1 year ago 100%
    What’s in your homelab? (July 2023)

    Since it's been about a month since the last post, it's time for another one! "What's in your homelab?" (July 2023)! This could be anything from hardware to software to things your running in the cloud (#cloudlab). Hardware and diagram pics are always welcome!

    3
    5
    selfhosted Selfhosted Lemmy selfhosters, how do you handle pictrs' state (sled)
    Jump
  • jax jax 1 year ago 100%

    I’m pretty sure it is

    2
  • selfhosted Selfhosted Lemmy selfhosters, how do you handle pictrs' state (sled)
    Jump
  • jax jax 1 year ago 100%

    I’m on Kubernetes, but it’d be the same via Docker - a volume mount (iirc at the same place it stores local data if you don’t use S3, should be in the docs)

    1
  • selfhosted Selfhosted Fellow self-hosters of Lemmy, what is your domain name?
    Jump
  • jax jax 1 year ago 100%

    My instance has a couple users currently lol

    3
  • asklemmy Asklemmy Is anybody else more active here then they were on Reddit?
    Jump
  • jax jax 1 year ago 100%

    Yes, I am significantly more active here than I was on Reddit (at least recently, my decline on posting/commenting on Reddit started a few years ago).

    2
  • lemmy_support Lemmy Support Accounts blackholed when instance email is not working
    Jump
  • jax jax 1 year ago 100%

    You’d have to talk to the your instance admin, they should be able to go into the database and fix your account.

    1
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
    Lemmy Support jax 1 year ago 93%
    Accounts blackholed when instance email is not working

    When the following is true: - User attempts to create an account - Instance has "require registration application" enabled - Instance's email is not working/unavailable the application seems to get lost, the user never receives an email (even after email functionality is restored), nor can that email/username be used going forward to re-submit the account creation request. Additionally, since the user never verifies their email, the instance admin never gets a registration application. It's not currently an issue for me, however, would it be possible to delete these ghost users? If you lookup the profile/username in the database, you can view it via the web UI, but the only options appear to be either blocking the user or banning them. It might be good to be able to completely delete the accounts, no?

    13
    34
    sysadmin
    Sysadmin jax 1 year ago 100%
    Uptime Robot alternatives for status pages and up/down monitoring?

    cross-posted from: https://lemmy.cloudhub.social/post/14149 > What's everyone using for status monitoring and/or status pages either in their lab or at work? > > I setup a status page for my fediverse instances using Uptime Robot (have an existing subscription), and the features are kinda lacking. I feel like they haven't really updated anything in the last 5 years which is unfortunate.

    13
    15
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearHO
    Homelab jax 1 year ago 100%
    Uptime Robot alternatives for status pages and up/down monitoring?

    What's everyone using for status monitoring and/or status pages either in their lab or at work? I setup a status page for my fediverse instances using Uptime Robot (have an existing subscription), and the features are kinda lacking. I feel like they haven't really updated anything in the last 5 years which is unfortunate.

    2
    12
    espresso
    Espresso jax 1 year ago 100%
    Does anyone have recommendations for dairy alternatives?

    Title - I'm using lactose free milk right now, but I'm wondering if there are any good milk-free alternatives? I tried using Silk's barista almond milk, but it's sour after being frothed? Edit: I guess I'll have to try some oat-based alternatives, maybe the problem is with the almond milk.

    22
    39
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearHO
    Homelab jax 1 year ago 100%
    [Guide] Getting Lemmy Working on Docker

    cross-posted from: https://lemmy.dcrich.net/post/1150 > Boy howdy, there are a lot of people coming to the matrix chat trying to figure out how to get lemmy working on docker who are stuck on the official documentation. This document is my guide on how I got Lemmy working. I'll also share what I don't have working yet to inspire further. > > Please feel free to steal anything you want from this and put it into [the official docs](https://github.com/LemmyNet/lemmy-docs/blob/main/src/en/administration/install_docker.md). I don't know the contributing policy and it sounds hard and I'm busy at the moment. > > Of note: I add a nginx container in this setup so that you don't have to do crazy hacks on your end for locations. If you already have an nginx reverse proxy that you are using, just use this one as a 2nd layer of nginx. There is low overhead, so don't worry about it. > > ## Setup > > For this guide, I'm requiring that you already have your own reverse proxy setup in place that can handle all the SSL termination. I'm doing this because I think that most people who are setting up Lemmy for the first time on Docker aren't setting up their first Docker container. > > Because I'm requiring that you setup your own SSL termination (caddy, ACME, Nginx Proxy Manager, etc.) before you begin, I will not talk further about https, certificates, or rotation. But before I do: Don't host a website in 2023 that doesn't serve content securely. Make sure that you get your stuff setup, including any certificate rotation. If you don't get this setup completed, I suggest that you shouldn't continue or host a public website. > > I also require that you be able to use docker-compose. > > ## Get Files > > Download [these 3 files](https://gist.github.com/Szeraax/73876ccb9599f70731f7eb8b967f4eaf) to your working directory from my github gist. You can download as zip or get them one at a time by scrolling down. > > ## Prepare Working Directory > > ~~~bash > mkdir -p volumes/pictrs > sudo chown -R 991:991 volumes/pictrs > ~~~ > > ## Edit Config Files > > * In the docker-compose.yml file, change the port, hostname, and database password. > * In the lemmy.hjson file, change the admin username/password, hostname, database password, and email settings. You can take out the entire email section if you want to. > * No changes to the nginx.conf file. > > ## Start It Up > Now you're ready to start the containers! > > You're pretty much good to go. Login to your lemmy instance. You should be able to use your docker host ip at your defined port OR via your reverse proxy lemmy domain host name. > > `docker-compose up` > > Watch the pretty log messages. > > You _should_ be able to curl your new admin user and get valid json back: `curl -H 'Accept: application/activity+json' https://lemmy.yourdomain.net/u/yourAdminUser` > > Press Ctrl+C if everything is working great and start it up as `docker-compose up -d` to make it a persistent running setup. > > ## Troubleshooting > > If you get the default nginx start page, it means that your nginx container isn't reading/following any nginx config file. Figure out why. Do you accidently have a blank directory created that is called nginx.conf instead of an actual file? Did you comment out the nginx.conf bind mount? > > > ## Update the Images > > In order to update the image to the latest release of lemmy, you have to manually go to your docker-compose file and edit the docker image tag to the latest version number. Then, you need to bring your container back up. Steps: > > 1. Edit the docker-compose.yml file image tags from 17.3 to whatever else comes out > 2. Run a docker-compose up which will update images as needed: > > ~~~bash > docker-compose up > ~~~ > > Watch the pretty log messages. Press Ctrl+C if everything is working great and start it up as `docker-compose up -d` to make it a persistent running setup. > > ## Limitations > > I don't know anything about docker. I'm a docker noob. Please correct me for anything that you think is a bad idea. > > > Why are the docker tags for lemmy and lemmy-ui "latest" for arm64/v8? Shouldn't there be a latest-arm and a latest-x86 or something? Annoying that I have to pin my lemmy images to a specific version in docker. I would prefer to let them be set to 1 image that gets updated and have watchtower deal with updating the image on a schedule of my choosing. > > > ## Sources > I wouldn't be here without the matrix chat, https://join-lemmy.org/docs/en/administration/install_docker.html, and this post: https://lemmy.ml/post/1127760 > > > ## Reverse Proxies > There have been some suggested reverse proxy configs for Caddy and Apache! > > ### Caddy > Thanks to [@tmpod@lemmy.pt](https://lemmy.pt/u/tmpod) for [this caddyfile](https://paste.sr.ht/~tmpod/acd0e97901f7d29420f8454b0817698dcfa102ff): > > ~~~ > lemmy.tld { > header { > # Only connect to this site via HTTPS for the two years > Strict-Transport-Security max-age=63072000 > > # Various content security headers > Referrer-Policy same-origin > X-Content-Type-Options nosniff > X-Frame-Options DENY > X-XSS-Protection "1; mode=block" > # disable FLoC tracking > Permissions-Policy interest-cohort=() > > # Hide Caddy > -Server > } > > # Enable compression for JS/CSS/HTML bundle, for improved client load times. > # It might be nice to compress JSON, but leaving that out to protect against potential > # compression+encryption information leak attacks like BREACH. > @encode_mime { > header Content-Type text/css > header Content-Type application/javascript > header Content-Type image/svg+xml > } > encode @encode_mime gzip > > request_body { > max_size 8MB > } > > @pictshare_regexp path_regexp pictshare_regexp \/pictshare\/(.*) > redir @pictshare_regexp /pictrs/image/{re.pictshare_regexp.1} permanent > > # Supposedly better than having three different named matchers using standard matchers > # ¯\_(ツ)_/¯ > @backend ` > path('/api/*', '/pictrs/*', '/feeds/*', '/nodeinfo/*', '/.well-known/*') > || header({'Accept': 'application/*'}) > || method('POST') > ` > reverse_proxy @backend lemmy:8536 { > # This was needed because of a bug, but it probably has been fixed in the meanwhile. > # Will have to test later. > header_down -Transfer-Encoding > } > > reverse_proxy lemmy-ui:1234 > } > ~~~ > > > ### Apache > Here are a few apache configs you can draw from. > > The best apache config I've seen so far is by DeadCade [in the comments here](https://lemmy.dcrich.net/comment/1688). > > ~~~ > <VirtualHost *:443> > ServerName lemmy.deadca.de > SSLEngine on > ProxyRequests on > ProxyPreserveHost on > ProxyTimeout 600 > > SetEnv proxy-nokeepalive 1 > SetEnv proxy-sendchunked 1 > > <Location /> > Allow from all > ProxyPass http://127.0.0.1:(INTERNAL LEMMY PORT)/ > ProxyPassReverse http://127.0.0.1:(INTERNAL LEMMY PORT)/ > </Location> > > ErrorLog "ERROR LOG LOCATION" > CustomLog "ACCESS LOG LOCATION" common > > # Enable mod_rewrite (requires "a2enmod rewrite") > RewriteEngine on > > # WebSockets support (requires "a2enmod rewrite proxy_wstunnel") > RewriteCond %{HTTP:Upgrade} websocket [NC] > RewriteCond %{HTTP:Connection} upgrade [NC] > RewriteRule ^/?(.*) "ws://127.0.0.1:(INTERNAL LEMMY PORT)/$1" [P,L] > > SSLCertificateFile FULLCHAIN.PEM LOCATION > SSLCertificateKeyFile PRIVKEY.PEM LOCATION > Include /etc/letsencrypt/options-ssl-apache.conf > </VirtualHost> > ~~~ > > If you need another apache config, this was suggested by Samsonite (though, he knows that it needs cleaned up). Comment if you have suggestions for what to remove: > > ~~~ > <VirtualHost *:80> > ServerName mylemmydomain.com > RewriteEngine On > RewriteCond %{HTTPS} !=on > RewriteCond %{HTTP_HOST} !^(localhost|internallemmyip) > RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L] > > > </VirtualHost> > > <IfModule mod_ssl.c> > <VirtualHost *:443> > ServerName mylemmydomain.com > SSLEngine on > ProxyRequests On > ProxyPreserveHost On > ProxyTimeout 600 > > SSLCertificateFile /etc/letsencrypt/live/mylemmydomain.com/fullchain.pem > SSLCertificateKeyFile /etc/letsencrypt/live/mylemmydomain.com/privkey.pem > # ProxyPreserveHost On > > # Proxy pictshare > <Location "/pictshare"> > ProxyPass http://internallemmyip:8537/ > ProxyPassReverse http://internallemmyip:8537/ > </Location> > > # Proxy iframely > <Location "/iframely"> > ProxyPass http://internallemmyip:8061/ > ProxyPassReverse http://internallemmyip:8061/ > </Location> > > > # # Correctly proxy websocket traffic > RewriteEngine On > RewriteCond %{HTTP:Upgrade} websocket [NC] > RewriteRule /(.*) ws://internallemmyip:80/$1 [P,L] > # > # Proxy Lemmy > <Location "/"> > ProxyPass http://internallemmyip/ > ProxyPassReverse http://internallemmyip/ > </Location> > > ErrorLog /var/log/apache2/mylemmydomain-error.log > </VirtualHost> > </IfModule> > > ~~~

    8
    5
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKB
    /kbin meta jax 1 year ago 100%
    Installing kbin

    Hello, I’d like to host an instance of kbin, but I was hoping to do so on a Kubernetes image. Are there plans to provide pre-built docker images? I’d be happy to write up some documentation/install instructions for Kubernetes/Helm if so.

    4
    1
    technology
    Technology jax 1 year ago 99%
    Why is /r/Videos shutting down on June 12th? How will this change affect regular users? More info here.

    The /r/videos mods are going all out and someone made this lovely graphic to explain why subs are going dark next week. While I’d love to have my users on Lemmy, I also hope that this actually does something for Reddit and they reverse course on their planed changes.

    126
    57
    technology
    Technology jax 1 year ago 100%
    What's in your homelab? (June 2023)

    cross-posted from: https://lemmy.cloudhub.social/post/2392 > Figured we'd start this community off with a question about what you're running in your homelab! > > This could be anything from hardware to software to things your running in the cloud (#cloudlab). > > Hardware and diagram pics are always welcome!

    45
    73
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearHO
    Homelab jax 1 year ago 100%
    What's in your homelab? (June 2023)

    Figured we'd start this community off with a question about what you're running in your homelab! This could be anything from hardware to software to things your running in the cloud (#cloudlab). Hardware and diagram pics are always welcome!

    7
    19
    fediverse
    Fediverse jax 1 year ago 100%
    How do you see the integration of link-aggregation and microblogging?

    Thinking about the future where Microblogging and link-aggregation sites on the fediverse have grown, how do you see them integrating? It's a bit one-directional right now since I don't think Lemmy has the concept of following people or #topics outside of Lemmy, but mastodon users can follow Lemmy communities and the posts and comments show up fairly nicely. Do you think the ability to combine those two domains in one interface (even the same timeline) is useful at all? I'm envisioning a content creator posting a video on peertube and being posted to one of the link-aggregator instances and people commenting on it via Mastodon and all of the comments being able to reference each other no matter where they were posted. I think that's pretty amazing compared to what we have now where you're conversation is basically stuck where it was started on the traditional services.

    17
    15
    fediverse
    Fediverse jax 1 year ago 100%
    Which Fediverse software would you recommend for long-form blog posts or photo hosting?

    I am wondering about the different fediverse software options and what would be best for various usecases. Currently, I run a Mastodon and a Lemmy instance that is mostly just for myself, which is great for doing microblogging and link-aggregation/replacing Reddit. In the past I've also used various blog platforms for long-form text posts (documentation/guides), and to host some photography pics. It feels like Mastodon isn't a good option for hosting long-form content (most instances have 500 char limits lol), nor would it be the best for trying to create a photo space akin to Instagram. What software options would you recommend for either long-form blog posts or photo hosting? I know Pixelfed is an option (that I am looking into hosting), but is there a good blog option? I think calckey can host pages and galleries, so it might be a good all-in-one solution? I'm not really sure. p.s. If I export my content from Mastodon, shut down the instance, then bring up an instance of Calckey with the same domain/username, am I going to break things?

    9
    21
    fediverse
    Fediverse jax 1 year ago 100%
    Single-User instances on the Fediverse?

    I've set up a couple of single-user instances of fediverse apps (Mastodon, Lemmy). With Lemmy, I can post/comment to any community/thread I want that is federated, but I can't seem to do that with Mastodon. With that being the case, how does the content I post on Mastodon get shown to people on other instances (I know replying works differently). I feel like any top-level post I make on my instance is basically like shouting into the void, correct? Also, if I were to set up a Pixelfed instance, would I have the same problem where my content doesn't get shown to anyone (except those that follow me?)

    18
    20
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
    Lemmy Support jax 1 year ago 80%
    Posting on other instances?

    I like that Lemmy can post on other instances (communities on other instances), but thinking about it, would that not present a potential issue with centralizing information about a topic on one instance? I know it's kind of similar to having themed Mastodon instances (and I also don't really understand those), but it seems like a potential issue? I know multiple instances can have the same communities, but that then seems like fracturing the conversation? Could this just be due to my limited knowledge/use of the fediverse?

    3
    24
    technology
    Technology jax 1 year ago 100%
    WWDC 2023: Everything You Can Expect to See! - MacRumors www.youtube.com

    Is anyone else excited to see Apple's annoucements at WWDC this year? I'm not sure why there is so much hype on an AR/VR experience. They've always seemed like a bit of a gimmic to me, as they don't seem good for productivity, and gaming in VR sounds like it would give me a massive headache/seasickeness.

    6
    10