MapPreviewPage generates http links even if under https under ngrok

Description

Using GeoServer under https will make it difficult to use map previews.
The CSS and the script resources are generated with "http://" so the browsers will block them if the main page is under https.

To reproduce:

  • Start the portable binary package

  • Expose the port with https (I used ngrok)

  • Open a preview page

Environment

None

Assignee

Unassigned

Reporter

Gnafu

Triage

None

Fix versions

None

Affects versions

Components

Priority

Medium
Configure