H
H
html-css2019-10-06 13:45:05
DLE
html-css, 2019-10-06 13:45:05

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

2 answer(s)
H
html-css, 2019-10-06
@html-css

UNDERSTOOD it is
necessary to add to engine/data/dbconfig.php
after the <?PHP
line

// HTTPS
define('HTTPS_SERVER', 'https://вашсайт.com/');

A
Alexey Tutubalin, 2019-10-06
@Kennius

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 question

Ask a Question

731 491 924 answers to any question