Correct settings/install for Reverse proxy


I am hoping that someone can shed light on the correct settings and process to allow SSL termination at a reverse proxy, and allow for a custom base URL such as I have tried many things thus far to no avail figured its time to reach out to the community!

I am open to run either CentOS/Nginx or Ubuntu/Apache2 (I have tried both as this point). Reverse proxy is IIS 10, ARR 3.0. I understand that the community won’t have answers directly related to IIS which is OK, just need to know what headers to add, and settings to change in the app.

Thanks in advance,

Happy to host on CentOS if needed and give complete cPanel control if you need to test.