SSL (https) after installing OJS 3.4

I just install fresh OJS 3.4 on Proxmox container - Ubuntu 22.04. Access to it I define thru nginx-manager

In file config.inc.php I have:
base_url = "http://ojs-34-last.plgt.pl"

Output is: when I access it with HTTP only, i see:

When I change to:
base_url = "https://ojs-34-last.plgt.pl"
and in browser https:…
I see:

Source of this page shows:

<!DOCTYPE html>
<html lang="en" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Hosted Journals | OJS 34 PLAGIAT</title>
	
<meta name="generator" content="Open Journal Systems 3.4.0.8">
	<link rel="stylesheet" href="http://ojs-34-last.plgt.pl/lib/pkp/styles/fontawesome/fontawesome.css?v=3.4.0.8" type="text/css" /><link rel="stylesheet" href="http://ojs-34-last.plgt.pl/styles/build.css?v=3.4.0.8" type="text/css" /><link rel="stylesheet" href="http://ojs-34-last.plgt.pl/index.php/index/$$$call$$$/page/page/css?v=3.4.0.8" type="text/css" />
	<script src="http://ojs-34-last.plgt.pl/lib/pkp/lib/vendor/components/jquery/jquery.min.js?v=3.4.0.8" type="text/javascript"></script

Im little stuck… Maybe someone have something similar?

Hi @Adam_Jurkiewicz,

OJS generally tries to identify the best base URL to use based on the request environment; obviously your environment, for some reason, is not allowing it to guess well.

You might just turn on force_ssl in config.inc.php to cause it to always use HTTPS.

Regards,
Alec Smecher
Public Knowledge Project Team