Recomended nginx config for reverse proxy chorus2
#1
Hi

I would like to reverse proxy chorus2 us out via reverse proxy with Nginx

I already have several applications working in this manner but my normal configuration for this didn't work for kodi

Can anyone share there working nginx config for proxying the kodi web ui
Reply
#2
I've made some amount of progress on this on my own but I'm somewhat stuck with the vfs stuff

The following is sort of close however the references to vfs files come out wrong so streaming and downloading do not work.

This does however get the majority of the navigation working

Code:
location /kodi {
                rewrite           ^/kodi$      https://home.example.com/kodi/ permanent;
                rewrite           ^/kodi/(.*)  /$1  break;
                proxy_redirect  http://localhost:5555   /kodi/;
                proxy_set_header Host $http_host;
                proxy_redirect off;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Scheme $scheme;
                proxy_pass http://localhost:5555;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "upgrade";
       }

        location /image
            {
                proxy_pass          http://localhost:5555;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "upgrade";
            }

         location /vfs
            {
                proxy_pass          http://localhost:5555;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "upgrade";
            }

        location /jsonrpc
            {
                proxy_pass          http://localhost:5555;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "upgrade";
            }
Reply
#3
Any more progress on getting streaming/downloading to work through a https connection?
Reply
#4
Placing this here to link things together: https://github.com/xbmc/chorus2/issues/133
Author of Chorus
Reply
#5
Hello,

i made a new comment in the github-thread, because i can't get the websocket to work.

Has somebody got it to work?

Thanks!

Regards,

Klaus
Reply



Logout Mark Read Team Forum Stats Members Help
Recomended nginx config for reverse proxy chorus20
This forum uses Lukasz Tkacz MyBB addons.