muesli / beehive

A flexible event/agent & automation system with lots of bees 🐝
GNU Affero General Public License v3.0
6.25k stars 318 forks source link

Allow beehive to run as nginx reverse proxy subdirectory #352

Open deranjer opened 3 years ago

deranjer commented 3 years ago

Would love to run beehive as a subURL behind nginx reverse proxy instead of needed to do it as a subdomain.

Essentially would need to rewrite however you are serving assets to go at the end of canonical URL.

Currently it fails to write the full canonical URL and you get a blank page.

It is requesting assets from "domain.com/assets" instead of "domain.com/subURL/assets".

Works perfectly fine with a subdomain (most applications do) ie: "beehive.domain.com" works fine.

Not a big deal but would be nice.