Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Plex request docker reverse proxy config???

Featured Replies

Has anyone been able to get the pled request docket working with apache reverse proxy?

 

I am using

 

  <Location /plexrequests>

                ProxyPass http://serverip:3000'>http://serverip:3000

                ProxyPassReverse http://server ip:3000

        </Location>

 

And it just gives a blank page.

  • 4 weeks later...

You can't reverse proxy plex request like this

 

www.server.com/request

 

You have to set it up like this

 

request.server.com

 

Which works perfectly...

 

Not at home so posting my config is difficult but I use an Apache docker container like the one from smdion and the plex requests docker all traffic is redirected to SSL and is working well.

Here you go :)

 

<VirtualHost *:80>
ServerName requests.server.com
ServerAdmin webmaster@localhost

<Location />
Order deny,allow
Deny from all
</Location>
RewriteEngine On
RewriteRule ^/?(.*) https://requests.server.com/$1 [R=301,L]
</VirtualHost>

<VirtualHost *:443>
ServerName requests.server.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www


SSLEngine on
SSLProtocol All -SSLv2 -SSLv3
SSLCipherSuite AES128+EECDH:AES128+EDH
SSLCertificateFile /config/requests/ssl.crt
SSLCertificateKeyFile /config/requests/decryptedssl.key
SSLCertificateChainFile /config/requests/sub.class1.server.ca.pem
SSLProxyEngine On
SSLProxyVerify none 
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off 

    ProxyRequests Off
    ProxyPreserveHost On
    ProxyPass / http://IPADDRESS:3000/
    ProxyPassReverse / http://IPADDRESS:3000/

</VirtualHost>

 

I use namecheap so added requests as a subdomain as well as www, @, photos & music all updating my external IP address with captinsano's ddclient docker.

 

EDIT: There's an easier way to achieve this now with a newer version of PlexRequests, that saves the hassle of setting up a separate subdomain and certificates.... See here...

  • Author

Here you go :)

 

<VirtualHost *:80>
ServerName requests.server.com
ServerAdmin webmaster@localhost

<Location />
Order deny,allow
Deny from all
</Location>
RewriteEngine On
RewriteRule ^/?(.*) https://requests.server.com/$1 [R=301,L]
</VirtualHost>

<VirtualHost *:443>
ServerName requests.server.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www


SSLEngine on
SSLProtocol All -SSLv2 -SSLv3
SSLCipherSuite AES128+EECDH:AES128+EDH
SSLCertificateFile /config/requests/ssl.crt
SSLCertificateKeyFile /config/requests/decryptedssl.key
SSLCertificateChainFile /config/requests/sub.class1.server.ca.pem
SSLProxyEngine On
SSLProxyVerify none 
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off 

    ProxyRequests Off
    ProxyPreserveHost On
    ProxyPass / http://IPADDRESS:3000/
    ProxyPassReverse / http://IPADDRESS:3000/

</VirtualHost>

 

I use namecheap so added requests as a subdomain as well as www, @, photos & music all updating my external IP address with captinsano's ddclient docker.

 

How would I add that to my current config it down not like the / after proxypass. Here is my current config

 

<VirtualHost *:443>
        ServerName tjne.net
        ServerAlias tjne.net
ServerName stream.tjne.net
        ServerAdmin [email protected]
        DocumentRoot /web
  
        SSLEngine on
SSLProxyEngine on
SSLProxyVerify none 
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
RequestHeader set Front-End-Https "On"
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
        SSLProtocol all -SSLv2
        SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
        SSLCertificateFile /config/ssl.crl
        SSLCertificateKeyFile /config/decrypted.ssl.key
        SSLCertificateChainFile /config/sub.class1.server.ca.pem
        
<Location /plexWatch>
                ProxyPass http://tower:8090/plexWatch
                ProxyPassReverse http://localhost:8090/plexWatch
	AuthName "Restricted Area" 
	AuthType Basic 
	AuthUserFile /config/.htpasswd 
	require valid-user
        </Location>

        <Location /plex>
                ProxyPass https://localhost:32400/web
                ProxyPassReverse https://localhost:32400/web
        </Location>

<Location /mobile>
                ProxyPass https://localhost:4443/mobile
                ProxyPassReverse https://localhost:4443/mobile
</Location>

        <Location /welcome>
                ProxyPass http://localhost:4443/welcome
                ProxyPassReverse http://localhost:4443/welcome
        </Location>

        <Location /customer>
                ProxyPass http://localhost:4443/customer
                ProxyPassReverse http://localhost:4443/customer
        </Location>

        <Location /technician>
                ProxyPass http://localhost:4443/technician
                ProxyPassReverse http://localhost:4443/technician
        </Location>
       
        <Location /status>
                ProxyPass http://localhost:8024/status
                ProxyPassReverse http://localhost:8024/status
                AuthUserFile /config/.htpasswd
                AuthType Basic
                AuthName "UpStatsBoard - Proxy"
                Require user someone
        </Location>

        <Location /yifipop>
                ProxyPass  https://localhost:4000
                ProxyPassReverse  https://localhost:4000
        </Location>

<Location /access>
                ProxyPass http://localhost:4443/access
                ProxyPassReverse http://localhost:4443/access
        </Location>

<Location /guacamole/>
   		ProxyPass http://localhost:9090/ max=20 flushpackets=on
    		ProxyPassReverse http://localhost:9090
</Location>

</VirtualHost>

<VirtualHost *:80>
        ServerName www.tjne.net
        ServerAlias tjne.net
        ServerAdmin [email protected]
        DocumentRoot /web
        SSLProxyEngine On
        RequestHeader set Front-End-Https "On"
ServerName stream.tjne.net
        Redirect /yifipop https://stream.tjne.net

        <Location /plexrequests>
                ProxyPass http://localhost:3000
                ProxyPassReverse http://localhost:3000
        </Location>

        <Location /plexrequestsadmin>
                ProxyPass http://localhost:3000
                ProxyPassReverse http://localhost:3000
        </Location>

</VirtualHost>

 

thanks

  • Author

You're adding another virtual host, so paste it on the end.

 

Thank you I did not realize you could do that such a simple answer. Thanks you learn something new everyday.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.