aaPanel_Kern
here the code
root@siapdok-srv:~# curl -v https://127.0.0.1:$(cat /www/server/panel/data/port.pl)/
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 7800 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* error:1408F10B:SSL routines:ssl3_get_record:wrong version number
* Closing connection 0
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number
root@siapdok-srv:~# curl -v http://127.0.0.1:$(cat /www/server/panel/data/port.pl)/
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 7800 (#0)
> GET / HTTP/1.1
> Host: 127.0.0.1:7800
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 302 FOUND
< Content-Type: text/html; charset=utf-8
< Content-Length: 219
< Location: http://127.0.0.1:7800/login
< Server: nginx
< Connection: keep-alive
< Date: Wed, 08 Jun 2022 09:25:56 GMT
<
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>
<h1>Redirecting...</h1>
* Connection #0 to host 127.0.0.1 left intact
<p>You should be redirected automatically to target URL: <a href="/login">/login</a>. If not click the link.* Closing connection 0
root@siapdok-srv:~#
