Profligate_parasite

joined 5 months ago
[–] Profligate_parasite@lemmy.world 12 points 1 week ago (1 children)

Dems prove once again that they have NO IDEA how to represent the people who voted for them... or even just like, make themselves even slightly likable.

[–] Profligate_parasite@lemmy.world 1 points 2 weeks ago (1 children)

Yeah, had to go touch grass after having this drive me crazy for a second day. The reverse proxy is "working" according to caddy... and the DNS is all pointed in the right spots but it just wont go. The CasaOS is the only think I can think of too. CasaOS is just a frontend GUI for a headless server... easy to manage/move media files, etc. INstalls docker containers with a click. I will have to try doing Caddy as a docker and see what happens.

To answer your question, if I put in the publicip and port, I get my Jellyfin, it's reaching them, and working just fine. Just can't get my DNS pointers to be recognized/used by Caddy. I've tried two different domains at this point. Whatever. Infuriating, but whatever. My shit still works. Thanks for trying. I tried to use the Caddy forum but they literally make you format/type your whole issue in predesignated HTML and shit.... I typed the whole thing out but I don't know shit about HTML so the 'issue' showed up as blank. Fuck this. I can live without.

I've tried this caddyfile version and one above, for both, I get "Problem loading page. Secure connection failed. Internal error." Oddly, I get the 'welcome to caddy' page directly at my IP but at my sub domain I get the error.

[–] Profligate_parasite@lemmy.world 1 points 2 weeks ago (3 children)

unfortunately, it's still not working. "Problem loading page. Secure connection failed"

[–] Profligate_parasite@lemmy.world 2 points 2 weeks ago (2 children)

Thanks very much, this is really helpful... one thing I note is that I don't know what "api.example.com" is ... is that necessary to make this work or is it just an option? I haven't mucked with API of Caddy at all...do I need to?

ugh. no. Now caddy wont start... various errors... sometimes it says listening port 80, port 80 in use. This morning after reset and caddy fmt --overwrite, it says: Error: loading initial config: loading new config: http app module: start: listening on :443: listen tcp :443: bind: permission denied Error: caddy process exited with error: exit status 1

[–] Profligate_parasite@lemmy.world 1 points 2 weeks ago (1 children)

do you want config.php from Caddy or the docker compose?

[–] Profligate_parasite@lemmy.world 3 points 2 weeks ago (2 children)

ooh I broke it as I was trying things and this was solid gold... thank you stranger!

[–] Profligate_parasite@lemmy.world 2 points 2 weeks ago (1 children)

Hey thanks for addressing that. So yes, I have my local ip as a subnet... you're saying that means i don't necessarily need the tailnet IPv4 as my pointer?

[–] Profligate_parasite@lemmy.world 8 points 2 weeks ago (1 children)

So, it sounds like you're staying if I want all my services (jellyfin, nextcloud, etc) behind ONE reverse proxy/https then the easier method is to install Caddy as docker and use the containername:containerport method?... did I understand correctly? Thanks

[–] Profligate_parasite@lemmy.world 2 points 2 weeks ago* (last edited 2 weeks ago) (8 children)

My caddyfile is just

sub.mydomain.com {

reverse_proxy my.server.ip.address:8097

}

lol ... obviously I annonymized it for this copypaste, but you get the idea.... I am probably missing some things.

[–] Profligate_parasite@lemmy.world 5 points 2 weeks ago (1 children)

I see the welcome page in the image above

112
submitted 2 weeks ago* (last edited 2 weeks ago) by Profligate_parasite@lemmy.world to c/selfhosted@lemmy.world
 

Hello Self Hosters! I am new-ish... got Jellyfin working great with tailscale remote access! I love it! I keep getting deeper into this stuff and geeking out... really excited to add my next service: Self-Hosted Nextcloud.

Would someone kindly walk me through setting up reverse proxy to my stuff with Caddy? I really just want HTTPS support, as my media files are one thing, but hosting all my personal info/docs on NextCloud is quite another thing to potentially expose....I want to make sure I harden properly, and HTTPS is clearly a part of that, even if I'm running a tailscale VPN. I have done my best following the docs/tutorial so far, but I've hit the wall with this "start" page.... Here's what I've got:

  • pointed my domain "A" DNS to my website as a sub-domain... so my address in caddyfile is "sub.mydomain.com"
  • I've installed caddy directly on my unbuntu server, but I admin my Jellyfin (and eventually Nextcloud) with Docker via CasaOS interface... is this a problem? Do I need to run Caddy in docker too?
  • I've followed the instructions on this start page and I still only get the startpage at "sub.mydomain.com"
  • my tailnet server IP address is what I'm using for the reverse proxy... that's correct, yes?
  • So many things/guides just say "reverse-proxy --to ..." but when I do that, I get an error saying port 80 is 'already in use' I have combed my configs & devices on my router...nothing is using port 80 that I can see. Ports 80 and 443 ARE forwarded/open, before you ask! -My next big step in this journey is piHole, so if this will interfere/interact with that in some important way, I appreciate the heads-up mightily!

Thank you in advance, I appreciate it!

EDIT! - CasaOS uses 80 as default gateway, turns out! So, switched that... now Caddy is starting properly... STILL can't get the 'welcome' page to go away.... still a problem with my caddyfile I suppose.

 

Hello. I have just recently started with self hosting my media with Jellyfin... and I am LOVING it! I had been carrying around media players for decades, with everyone looking at me like an insane crank for not giving up on my hundreds of gigs of media for SAS things like spotify... now they're jealous! We've come full circle!

Annnyway. Obviously, I want to access the server anywhere, and don't want to just raw-dog an open port to the internet- yikes!

There are SO MANY ways and guides and thoughts on this, I'm a bit overwhelmed and looking for your thoughts on the best way to start off... it doesn't have to be 'fort knox' and I am sure I'll adjust and pivot as I learn more... but here are the options I know of (did I miss any?):

  • Tailscale VPN connection

  • Reverse Proxy with Caddy or similar (this is recommended as easy in the jellyfin official guides and thus is my current leading contender!)

  • Docker/VM 'containerized' server with permissions/access control

What are your thoughts on the beginner-friendly-ness and ease of setup/management of these? This is exclusively for use by me and my family, so I don't need something that's easy for anyone to access with credentials... just our handful of devices.

Please don't laugh, but I'm currently hosting on a Raspberry Pi5 with a big-ass harddrive attached (using CasaOS on a headless Ubuntu Server). I know this is JANK as far as self-hosting goes, and plan to upgrade to something like NAS in the future, but I'm still researching and learning, and aside from shitty video transcoding, it's working fine for now... Thank you in advance for your advice, help and thoughts!

EDIT: Thanks all for the helpful comments & Suggestions. I'm all set up with Tailscale, setting up Caddy with it soon, and so far, as advertised! EZPZ and soooo good!

 
view more: next ›