Project

General

Profile

Actions

Feature #1862

closed

API: Create HTTPS URLs when an instance is using SSL

Added by Andreas Olschnögger about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Administration
Target version:
-
Start date:
2022-10-27
Estimated time:

Description

Currently the URLs are specified in the API with http. Many browsers update the request to https, but some block it. For example, request to image links are blocked on Safari on IOS and can therefore not be shown. Optimal would be a solution where the API returns the correct URL right away.

Solution
If the site is behind a reverse proxy the solution seems to be to add this line to the virtal host section of the Apache config file:

SetEnvIf X-Forwarded-Proto "https" HTTPS=on

Actions

Also available in: Atom PDF