Plexamp Headless: Web interface with a reverse proxy

It would be great if the Plexamp Headless web interface played nice with a reverse proxy, specifically when hosting securely.

I’ve noticed a couple issues which seem to prevent this from working

  • Its device knowledge/requests seem to be sniffed out from the following url
  • Its own /resources requests are always against its ip address, without a way to configure a custom domain. This results in an endless loop of GET requests being blocked due to mixed-content (insecure XHR from a secure domain) when attempting playback
    • http://IP_ADDRESS:32500/resources

I’m sure there’s other considerations here, but these were noticed with my initial naive attempt. Happy to provide any additional debugging support.

Here’s a stripped down nginx block used for testing:

server {
  listen 443 ssl;
  server_name  my.domain.com;

  ssl_certificate /etc/some/path/fullchain.pem;
  ssl_certificate_key /etc/some/path/privkey.pem;

  location / {
    proxy_pass http://IP_ADDRESS:32500/;
  }
}

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.