• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.

Site available on http but only partially on https

Status
Not open for further replies.

Sempiterna

Chevereto Member
Hi,

For over a year i've only ran my installation of chevereto on http only, but now I would also like to make it available on https. The problem is that while the site is viewable on http, it is only partially viewable on https. This is caused by the site (trying to) load the css, icons, logo, etc from http instead of https as if it is hardcoded somewhere.

I tried to look it up in the config and database, but there seems to be no hardcoded "http" anywhere.

Version: 3.8.12
Url: https://blobz.com
Webserver: nginx
 
Chevereto auto detects HTTPS by analyzing the $_SERVER array, if the HTTPS is not configured properly the system will use HTTP.

PHP:
define('G_HTTP_PROTOCOL', ((!empty($_SERVER['HTTPS']) and strtolower($_SERVER['HTTPS']) == 'on' ) or $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') ? 'https' : 'http');

If the system is using HTTP is because HTTPS is not enabled properly in that server. HTTPS needs a cert and some configuration, you can't just change HTTP to HTTPS via rewrite and expect to work as a real HTTPS.

This is not Chevereto related, ask your hosting company about it.

Cheers,
Rodolfo.
 
Last edited:
Status
Not open for further replies.
Back
Top