I can operate PlexConnect on my ReadyNAS 516 if I disable Apache and it blows my dedicated PlexConnect PC away for speed as noted by startup times, menu refreshes, movie start times, etc. The problem is that the Apple TV sends requests on port 80 to PleConnect. SInce I still need to run Apache on my NAS for the admin interface (installs, upgrades, maint, config, etc…) I am at odds.
I am new to Linux but have easily gotten PlexConnect to operate using ports 81 and 8443 as opposed to 80 and 443. What I do not know how to do is to configure Apache 2 to send web requests bound for trailers.apple.com as a virtual host on the same machine but different ports. So my issue is Apache 2 VirtualHost configuration.
TO be clear, When my ATV sends a request to my NAS at 192.168.2.4:80 for the trailers.apple.com domain, I need Apache 2 to:
Recognize and answer that request
Forward it to a different port ( :81 ) on same IP
I have read that there is a ProxyPass statement but all examples say that is for a different machine.
How do I create the trailers.apple.com virtual host and how can I forward it?
Thank you in advance for any assistance.
ReadyNAS 516 Series 24Tb
If you look in the main github page I believe there is a brief section about reverse proxies. You may need to look up how to set it up for your specific nas. You may find something by searching the forums or Google:
readynas reverse proxy