Answer the question
In order to leave comments, you need to log in
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
Answer the question
In order to leave comments, you need to log in
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. nothing is displayed on the site except htmlthis was due to an incorrect directory in the NGINX https port 443 configuration (for example
/etc/nginx/bx/site_avaliable/ssl.s1.conf
)
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 questionAsk a Question
731 491 924 answers to any question