this post was submitted on 22 Jun 2023
2 points (66.7% liked)

Selfhosted

40649 readers
360 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I host a ton of services running behind my nginx reverse proxy (basic auth + lets encrypt). On the whole it works really well with nearly everything I throw at it. Lately, there's been a lot of gradio/websocket/python stuff coming from the AI community like the local llama and stable diffusion stuff. Not sure what's causing it but there's always weird issues when I try to reverse proxy them.

Does anyone have some magic settings that "just work" with these weirdo web apps?

you are viewing a single comment's thread
view the rest of the comments
[–] flimsyberry 5 points 2 years ago (2 children)

I'm pretty sure there might be some arcane scripts for you that would help you. But you should clarify query a bit. What are the weird issues you're running into? Alternatively, if you're managing nginx and letsencrypt manually you could try:

  • Caddy
  • Traefik
  • NGINX Proxy Manager
[–] behohippy 3 points 2 years ago (1 children)

I hear good things about Traefik. Basically all I need is a reverse proxy that will handle re-writing URLs and websockets and slapping some ssl and auth on it. If something is easier for that, I'm all ears.

[–] flimsyberry 2 points 2 years ago

All three options should cover those requirements. You should take a look at them and decide which suit you best.

[–] cow 1 points 2 years ago

I am using caddy and it is really nice. It automatically does lets encrypt, https redirection, reverse proxy headers and there is much less boilerplate and repetition in the config file.