Curious about no docker setup #146
Replies: 2 comments 3 replies
-
Anubis should work fine with websockets. I haven't tested it yet (probably can on stream today, around noon EDT is when I start streaming), but from my experience the Go standard library is almost always fine with websocket upgrades for reverse proxies. Worst case you can explicitly bypass Anubis in your nginx config. At a high level though: ---
title: With Anubis installed
---
flowchart LR
LB(Nginx)
Anubis(Anubis)
App(App)
LB --> Anubis --> App
I dug up part of my autogenerated nginx config from my homelab Kubernetes cluster. Maybe this will help? I'm not an nginx expert anymore, sorry. autogenerated nginx config snippet for git.xeserv.us
I'll work on it. I'm focusing on the low-hanging fruit of docker-based setups right now because that's what I have the most professional experience with. I plan to make binary packages available, but I am one person and have to pay my capitalism bills.
If you do customize Anubis' branding, I'd kindly ask (not enforce, these are words on the Internet, not word of law) that you donate to the project because I need to eat and the price of food has been increasing. I'd also love to not have to work on my dayjob and would love to fight bots full time, but I can't do that if I can't afford rent. |
Beta Was this translation helpful? Give feedback.
-
I ran Anubis deb package with nginx, had to change my setup a little, but web sockets worked without issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm curious how I could setup Anubis (and customize!) for an image board I run. I am not using docker, and my nginx needs to upgrade connection for WebSockets as well. In the docs all of this was stated as unsupported and that 'don't have enough real-world experience to know one way or another' which I would be happy to provide. I'm quite new to go so I only skimmed the
cmd/anubis/main.go
but it doesn't clue me in on how to setup nginx.Or, am I misunderstanding something because most examples/usage of Anubis I see only show configuration for Docker and no 'server' or 'app' is present.
Beta Was this translation helpful? Give feedback.
All reactions