- πͺπΈSpain eduardo morales alberti Spain, πͺπΊ
After reading some comments and issues it should be documented some points:
- Configure the reverse proxy
$settings['reverse_proxy'] = TRUE;
- Configure the reverse proxy address, the problem is that the IP address from fastly are dynamic, so it should be calculate dynamically https://www.fastly.com/documentation/reference/api/utils/public-ip-list/
- As the default header X-Forwarded-For is not secure, it should be used the header Fastly-Client-IP https://www.fastly.com/documentation/reference/http/http-headers/Fastly-... and configure the vlc
if (fastly.ff.visits_this_service == 0 && req.restarts == 0) { set req.http.Fastly-Client-IP = client.ip; }
- Configure the reverse proxy
- πͺπΈSpain eduardo morales alberti Spain, πͺπΊ
Added documentation on https://git.drupalcode.org/project/fastly/-/merge_requests/28/diffs#diff... issue β¨ Caclculate fastly ips dynamically Active