gibdos

joined 2 years ago
[–] gibdos@lemmy.world 2 points 1 month ago* (last edited 1 month ago)

One last thing. I assume you checked if your DNS changes got propagated? I tend to use DNS Checker. And even if the changes are propagated, it can sometimes still not work because of DNS cache in

  • your browser
  • your pc
  • your router
  • your custom DNS provider

So assuming that you checked the DNS propagation and it was propagated enough, I'd also

  • clean all DNS caches from browser, pc and router
  • try different, large DNS provider (Google, Cloudflare, etc.)
  • try the domain in a different browser / private window
  • try it on my phone over mobile network and not wifi

I recently had the problem that the custom secure DNS I use on Firefox took almost a day to update their cache, while every other provider had my changes in a couple of minutes at most.

[–] gibdos@lemmy.world 1 points 1 month ago (2 children)

Okey, so if you skip the whole DNS and use http://PUBLICIP:PORT for any of your docker services, does your browser reach them?

You said you have Caddy on bare metal Ubuntu and your services in CasaOS. Sadly I’ve never used that, but is that a VM on your Ubuntu Server and inside that run your docker containers? If so, maybe that’s what’s stopping Caddy from reaching your containers?! Just guessing tbh.

[–] gibdos@lemmy.world 5 points 1 month ago (4 children)

You need to point your sub-domain in the Caddyfile to your designated local port. So just add an entry like this to your Caddyfile

sub.yourdomain.com {
  reverse_proxy XXX.XXX.XXX.XXX:PORT {
   header_up X-Real-IP {remote_host}
  }
  encode zstd gzip
}```

Replace XXX with your public IP and PORT with the local port in your docker container / compose.
[–] gibdos@lemmy.world 8 points 1 month ago

Wen intressiert es denn, wenn ich mein Haus abfackel oder mein Kind vergiftet, wenn ich 5€ spare \s

Ich werde nie Menschen verstehen, die sinnlosen Müll bei solchen Shops bestellen.

[–] gibdos@lemmy.world 2 points 2 months ago

I can confirm this behavior on my machine. And after a (far too) long internet search, I think it might be connected to this Muffin bug report from 2023.

I checked every single setting window and tab and scoured the gsettings with dconf editor and as far as I can tell, there is no way to disable this strange window snapping behavior when dragging a window with SHIFT held down.

Of course, the fact that people keep confusing snapping with tiling did not help in my search.

[–] gibdos@lemmy.world 1 points 2 months ago

Thanks! I am happy, if people find it helpful.

 

I was quite busy the past couple of days, but I finally managed to finish my mail-server migration.

And since I decided to also upgrade my old backup solution from the ancient times, I also wrote a guide for my new borgmatic based solution, which I now want to share with you guys.

I hope it helps some of you with your server backups.

[–] gibdos@lemmy.world 2 points 2 months ago (1 children)

The amount of baseless Ubuntu Server hate in this sub is pretty sad. I've used Ubuntu Server, without any problems, for more than a decade. And at no point where there any significant changes to the way things are done. So I really think your comment about articles becoming useless has no basis in reality.

As for using your own hardware. Nothing in this guide necessarily requires a VPS. And you seem to completely ignore the upkeep and electricity costs of having your own hardware at home.

Not to mention the convenience of a public IP, which is something not every ISP around the world offers. And yes, you can use a dynamic DNS provider to get around that, but then you publish your private IP onto the entire internet.

The guide was focused on being as simple and convenient as possible, with the target audience being absolute beginners to self-hosting. If it doesn't speak to you, feel free to write your own.

[–] gibdos@lemmy.world 2 points 2 months ago (1 children)

Thank you for your very helpful and friendly criticism. I temporarily used Netlify, because I haven't gotten around to program a proper deploy script for my Forgejo git repo.

[–] gibdos@lemmy.world 2 points 2 months ago* (last edited 2 months ago)

You mean from one LTS to the next? It's been a while, but as far as I remember, it worked fine on my last server (22.04 to 24.04).

And even if something doesn't work, I can have all my stuff spun up on a new server in less than an hour. But that, of course, depends on the amount of data you host.

[–] gibdos@lemmy.world 3 points 2 months ago (2 children)

I think you are conflating desktop Ubuntu with Ubuntu Server. On a server, you absolutly want a stable, long supported LTS version.

I've been hosting on Ubuntu Server for over 10 years now, and at no point were any packages required to keep it up to date and running outdated.

[–] gibdos@lemmy.world 5 points 2 months ago

I see your point. But to me, self-hosting just means being responsible for the server and services and not necessarily having my own hardware server at home. And just calling it hosting is too broad a definition for me. And at the end of the day, the guide works just as well for your own hardware or a VM, as it does for a VPS.

[–] gibdos@lemmy.world 1 points 2 months ago

Took me an embarrassing amount of time to realize my mistake. I forgot to actually use the npx @11ty/eleventy build command instead of always relying on npx @11ty/eleventy --serve. Now the images are properly linked and transformed / optimized.

227
submitted 2 months ago* (last edited 2 months ago) by gibdos@lemmy.world to c/selfhosted@lemmy.world
 

I recently became interessted in learning about static site generators. So I decided to start a little 11ty blog, in which I teach people, who are new to self-hosting, how to securely set up their own server with Ubuntu and Docker.

For now, I've got my Beginners Guide series as well as a more detailed introduction to SSH and its features. I plan to eventually write down all I've learned about self-hosting in the past 20 years.

Hope it ends up being helpful for some of you.

EDIT (2025-10-28): Finally got around to get a proper domain and switched my blog to Hugo. Much easier to deal with and more capable imho than 11ty (and actually useful documentation as well). Oh and got rid of Netlify. Their 300 credit limit for a free deploy project is far too limiting if any deploy costs 15 credits...

11
submitted 2 years ago* (last edited 2 years ago) by gibdos@lemmy.world to c/firefox@lemmy.world
 

Since switching to Mac / Apple Sillicon last year, I've had trouble with HDR videos on YouTube with Firefox.

For whatever reason, any HDR video will look super bright on Firefox. This problem only exists on Firefox. I've never had it with Safari or chromium-based browsers.

Here is a side-by-side comparison of how a test video looks. Sorry for the photo but the screenshot utility wouldn't capture the problem.

https://imgur.com/a/OSHGPjz

I've been searching the webs for a while but so far I could not find a bug report or anything related to this specific problem. Maybe someone else has had similar experiences and can help me with fixing it. I really don't want to have to switch to another browser whenever I come across an HDR video.

Hardware info
Computer: Mac Mini M2 Pro
Display: LG UltraGear 27GP850-B

view more: next ›