Nginx reverse proxy for VDR Live and VDRAdmin(-AM)

  • Hi,


    I would like to put VDR Live and VDRAdmin(-AM) behind my Nginx reverse proxy. Nginx is configured to accept only https connections. I would like to be able to access it with https://my.domain.com/vdrlive and https://my.domain.com/vdradmin


    Could you post a working Nginx configuration for both? Many thanks!

    Server: Atom 330, 2GB RAM, 2x2TB HD, 160GB 2.5" system drive, DVBSky S960 USB DVB-S2, picoPSU 120W, Ubuntu Server Trusty, VDR 2.2.0 + Live, streamdev, epgfixer, epgsearch, restfulapi, vnsi-server
    HTPC1: ASRock 330 ION, 2GB RAM, 32GB 1,8" SSD, Chieftec IX-03B + picoPSU 90W, Kaze Slim 100mm cooler, OE 5.95.4 DualAudio Build + VDR vnsi-client
    Clients: notebook, netbook, desktop, Pi2, WP
    Harmony 515 Remote, Panasonic 42" Plasma, Sony STR-DE 585 5.1 DTS, 78 Triax + Inverto Black LNB + Powertech S380

  • Hi.
    I juste configured mine to serve VDR-Live but on the root path of a subdomain.
    You have to know that I use certbot to obtain ssl certificates, you will see related stuff about this in my nginx config.


    I first created a symlink from /usr/share/vdr/plugins/live to /var/www/vdrlive


    Code
    1. ln -s /usr/share/vdr/plugins/live /var/www/vdrlive


    Then I added this nginx site in a new created file: /etc/nginx/sites-available/vdrlive :



    You must replace

    Code
    1. vdrlive.example.com

    by your own sub domain, create a symlink in sites-enabled and reload nginx.


    This is not a prefect answer but I hope this can help you !