Closed geerlingguy closed 4 years ago
Looks like I could use something like the following in settings.php
:
<?php
$settings['reverse_proxy'] = TRUE;
$settings['reverse_proxy_addresses'] = ['1.2.3.4', ...];
Worked! I added that to my settings.local.php
. Adding a note about it in the repo example.
Apparently I forgot to configure the proxy settings from Nginx (since it's used for caching and PHP is running on internal port 81), so all requests look like they're coming from the same IP address,
104.236.203.61
.This causes two major problems: