Running the web gui from a sub directory eg. http://{ip|domain}/omv/

  • I must be getting old because I can't get this to work!


    I need the web gui to run and operate from http://{ip|domain}/omv/ where omv is just my choice because I'm lazy and hate typing openmediavault.
    I need to do this because I'm running HAProxy in front of all the plugings.
    For example:


    http://{ip|domain}/sabnzbd
    http://{ip|domain}/sonarr
    http://{ip|domain}/omv


    http://{ip|domain}/ <- This will be the default website on port 80 via nginx plugin, nothing much but enough for Let's Encrypt to do it's thing. Also maybe some other stuff so the web gui can't be it.


    I need either HAProxy or nginx to do this. I'm fairly new to both but not new to web technologies and dev in general.


    I've had a play with HAProxy but the following obviously isn't it and HAProxy doesn't seem the correct place to do it anyway:


    backend omv
    server omv1 localhost:8380 <- My OMV port


    Also tried to edit /sites-available/openmediavault-webgui, but changing the location(s) didn't do it.


    Can someone give me a pointer or even a worked example?
    Can it even be done?


    Thanks in advance.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!