Folder Redirects

OK, been a while since I posted and I only seem to do it when I HAVE an issue, rather than trying to help someone else to SOLVE them!

Apologies over, to my problem:

I have a website (namely Emby) which apparently runs on nginx rather than Apache. I have created an Apache sub-domain and can get a redirect to work correctly if I specify a different port to the default 443 (using SSL).

What I would LIKE to do is to either:

  • mask the port number so it shows https://movies.blahblahbla instead of https://movies.blahblahblah:1234 (as an example). Is this possible?
  • or create a folder redirect which, instead of using the Apache document root, sends the document root to the nginx folder.

I’ve tried the second method but the way I was trying to do it was giving me a “Forbidden: Permission Denied” error and I have no idea why. How do I create / use a FOLDER (rather than URL) redirect?

Chris: Adelphia Interactive

Desktop: Windows 10 Pro x64
Server: Ubuntu 16.0.4.2LTS
Webmin/Virtualmin: Latest (daily updates)