Answer the question
In order to leave comments, you need to log in
Https DLE where to put $_SERVER['HTTPS'] = 'on';?
In general, when you enable https in dle, cloudflare gives an error Error 521
With joomla, the problem is solved by adding the line $_SERVER['HTTPS'] = 'on' to the configuration.php
I try to push it into the configs dle
config.php dbconfig.php
nifiga does not help
, maybe someone encountered
Answer the question
In order to leave comments, you need to log in
UNDERSTOOD it is
necessary to add to engine/data/dbconfig.php
after the
line
// HTTPS
define('HTTPS_SERVER', 'https://вашсайт.com/');
The problem is in DLE and in the server (hosting) 99%, this line does not need to be stuffed anywhere in dle. DLE has its own https support in the admin panel, check if the hosting (server) has blocked the ip addresses of CF
https://support.cloudflare.com/hc/en-us/articles/1...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question