D
D
Dubrovin2021-06-01 19:30:27
Template Engines
Dubrovin, 2021-06-01 19:30:27

How to login to ISPmanager if I use Cloudflare?

I used the URL https://domain:1500/ispmgr to access the ISPmanager panel
After I connected the domain via Cloudflare, this URL stopped opening
If I try to access the URL IP:1500/ispmgr , then everything works, the panel opens, but does not log in, because HTTPS is not used. If I try to access the URL https://IP:1500/ispmgr , then the browser throws out the message "This site cannot provide a secure connection", ERR_SSL_PROTOCOL_ERROR
Here is the config from the file /usr/local/mgr5/etc/ihttpd.conf

listen {
ip АЙПИСЕРВЕРА
sni {
domain_cert etc/ihttpd_custom.crt
domain_key etc/ihttpd_custom.key
domains МОЙДОМЕН
}
}


How to properly configure ihttpd config?
Or maybe you can somehow configure Cloudflare to open the ISPmanager panel through it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
bigbn, 2019-02-04
@bigbn

If we are talking about a template engine, then look towards handlebars (and its brothers mustache , hogan ).
Its advantage is that it will work anywhere, even on the front, even on the backend, even in C, even in Java, PHP.
Fairly clear syntax, any designer will understand what can be touched, what is better left as is.

<div class="entry">
  <h1>{{title}}</h1>
  <div class="body">
    {{body}}
  </div>
</div>

And so, today it is probably difficult to find a template engine that would not satisfy the listed requirements.

D
Dubrovin, 2021-06-16
@Dubrovin

I will write here two solutions for those who encounter a similar problem
1) Add the DisableCookieSecure option to the COREmanager configuration file (/usr/local/mgr5/etc/core.conf) just access the url with an IP address like HTTP://YOUR_SERVER:1500
2) Change port 1500 to any other port supported by Cloudflare (the easiest solution for me), I changed it to port 2053 and I normally enter the panel through Cloudflare using the HTTPS URL ://SERVER_DOMAIN:2053

S
SagePtr, 2021-06-02
@SagePtr

Alternatively, add a separate subdomain for this purpose, configure nginx to proxy your ispmanager and ignore certificate errors (proxy_ssl_verify off).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question