I'd like to install Magento 2 behind my nginx reverse proxy.
However I'll access the installation from the internet using url http://magento.mysite.com
But Magento on the back end server thinks it's located in
I'm able to see the page
"Magento supports PHP 7.0.2, 7.0.4, and 7.0.6 or later. Please read Magento System Requirements."
But any attempt to do something fails because I'm redirected to
To me it's not a reverse proxy problem it's just that magento looks at where it's installed and the location is not the same as what the user typed in it's url.
What if you install Magento using the CLI and set the right URL?