I have an apache configuration with reverse proxy (IP of this server: 192.168.1.82
) to handle my new D9 server:
<VirtualHost *:443> ServerName www.mydomain.be ServerAlias mydomain.be NameVirtualHost www.mydomain.be ProxyPreserveHost On ProxyPass / http://192.168.1.87:80/ ProxyPassReverse / http://192.168.1.87/ SSLProxyCheckPeerCN Off SSLProxyCheckPeerName Off SSLProxyVerify none ...
And here is settings.php
$settings['reverse_proxy'] = TRUE; $settings['reverse_proxy_addresses'] = [ '192.168.1.82', ]; $_SERVER['HTTPS'] = 'on'; $settings['ssl'] = TRUE;
Unfortunately the autocomplete feature of an entity reference field request a non https (unsecure) endpoint (Mixed content):
http://www.mydomain.be/fr/entity_reference_autocomplete/node/default:node/3veI...I?q=t
What can I do to force the https… I will accept the most ugly hack if it is working (yes, I am here)