osuAkatsuki / bancho.py

An osu! server for the generic public, optimized for maintainability in modern python
https://akatsuki.gg
MIT License
212 stars 127 forks source link

misc: How to use bancho.py with Nginx Proxy Manager #482

Closed Listum closed 1 year ago

Listum commented 1 year ago

I want to use bancho.py with "Nginx Proxy Manager" can I somehow connect directly to the ip? Also, if I need configurations in "Nginx Proxy Manager" itself, which ones should I specify?

7ez commented 1 year ago

"directly to the ip"?

g1-1-1 commented 1 year ago

i think they want to use their ip as the domain to use with nginx instead of an actual domain

minisbett commented 1 year ago

That would not work since the client<->server communication wouldn't support that, you need subdomains and those don't exist on an IP layer

Listum commented 1 year ago

That's the thing, it does. The problem is the complexity of your ngnix. There is a forced connection to the subdomain and forced use of TLS. In my case, connection to the subdomain and TLS connection is done by Proxy Manager. Proxy Manager requires an IP:Port on the local network to connect to the service, which I can't connect to due to domain enforcement

minisbett commented 1 year ago

The subdomains are necessary in order for the osu client to work, it's not like bpy chooses to have those specific subdomains

Listum commented 1 year ago

Ok thx