Reverse proxy OMW WebUI?

  • I'm trying to reverse proxy the WebUI of OMW but can't seem to get it to work properly,


    For now I have


    Code
    location /openmediavault/ {
    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-Server $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_pass https://127.0.0.1:9988/;
    }


    And this gets me a blue screen with no login. So this tells me I need to rewrite urls in the pages since when I look at the html source some dependencies are still hardcoded to the root url / (/extjs, /images and some more)


    Anyone got around this?

  • Hey jkaberg,


    you resolve the problem?


    i got a secure client cert connection to my nginx reverse.


    from proxy i want to go with http to the omv, but without any /omv url i wont work.


    you resolved thad problem?


    Code
    location /
    {
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_pass http://192.168.0.7; #i think here is the error
    }

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!