Skip to main content
6 events
when toggle format what by license comment
Oct 26, 2018 at 11:31 comment added bigboy The only place I found https mentioned is here: [HTTP_CF_VISITOR] => {"scheme":"https"}. But I don't think, that I can use this cloudflare header somehow in Drupal. Maybe I need to configure my web server somehow? Because I did nothing in server config.
Oct 26, 2018 at 11:12 comment added 4uk4 Then this is probably an issue with the CDN configuration to get the correct client protocol into X_FORWARDED_PROTO.
Oct 26, 2018 at 11:10 comment added bigboy I've checked $_SERVER output and it shows, that X_FORWARDED_PROTO is set to http, as well as REQUEST_SCHEME. Enabling or disabling ['reverse_proxy'] in settings.php does nothing.
Oct 26, 2018 at 11:07 comment added 4uk4 I've answered to explain how the ajax behavior might be connected to the CDN setup. For the latter see drupal.stackexchange.com/questions/199722/…
Oct 26, 2018 at 10:23 comment added bigboy I think I'm doing something wrong. In settings.php I've enabled $settings['reverse_proxy'] by setting it ti TRUE and uncommenting the rest: $settings['reverse_proxy_addresses'] (added all known cloudflare's ip addresses), $settings['reverse_proxy_proto_header'] = 'X_FORWARDED_PROTO'; and $settings['omit_vary_cookie'] = TRUE; But stil doesn't work.
Oct 26, 2018 at 8:59 history answered 4uk4 CC BY-SA 4.0