V
V
VicTHOR2019-12-24 14:18:52
1C-Bitrix
VicTHOR, 2019-12-24 14:18:52

How to tell Bitrix not to use SSL?

I deployed a copy of the site with a certificate on another server, nothing is displayed on the site except html, request headers return 404, because they try to read https, which is not on that server, and a copy is deployed on the 10.0.0.0 mask at all Implementation
- apache + nginx
5e02069e5e2c9352273132.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
VicTHOR, 2019-12-24
@VicTHOR

In the Bitrix VM configs for NGINX, in the catalog /etc/nginx/bx/site_avaliable/for each server, a condition of the kind

if (-f /home/bitrix/www/.htsecure) { rewrite ^(.*)$ https://$host$1 permanent; }
, which says that redirection to the https protocol will occur if there is a .htsecure file in the directory of this server.
I had this file present, because of which there was a redirect.
But
nothing is displayed on the site except html
this was due to an incorrect directory in the NGINX https port 443 configuration (for example /etc/nginx/bx/site_avaliable/ssl.s1.conf)

V
Viktor Taran, 2019-12-24
@shambler81

1. google chrome officially stops displaying sites without https next year.
What are you trying to do now?
2. the presence of a certificate does not affect the quality of displaying content if it is not mix_content (for now, see point 1)
3. judging by the description, dynamic content or php does not work on your server.
It has little to do with bitrix.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question