Access plex through reverse proxy using Apache on Server 2012R2

Server Version#: 1.16.2.1321
Player Version#: 3.108.2

Hi, so I’m using Apache on Server 2012R2 to run a reverse proxy (please don’t leave comments about linux/nginx being better, I’m sticking with Windows). Whenever I go to http://server.domain/plex, I get a 401 Unauthorized error.

Here is my httpd-vhost.conf file:

 <VirtualHost *:80>
     ServerAdmin justin@riley.work
     DocumentRoot "C:/Apache/htdocs"
     ServerName services.riley.home:80
     ErrorLog "logs/riley.home-error.log"
     CustomLog "logs/riley.home-access.log" common

     ProxyRequests Off
     ProxyPreserveHost Off
 
     <Proxy *>
         Require all granted
     </Proxy>

     <Location /plex>
         ProxyPass        http://localhost:32400/plex connectiontimeout=5 timeout=300
         ProxyPassReverse http://localhost:32400/plex
     </Location>
 
     <Location /ombi>
         ProxyPass        http://localhost:5000 connectiontimeout=5 timeout=300
         ProxyPassReverse http://localhost:5000
     </Location>
 </VirtualHost>

Any recommendations?

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