<?php
$postPublishAt = $post->publish_at;
?>
// ...
<?php if($postPublishAt): ?>
<date ***><?= date('d.m.Y', $postPublishAt) ?></date>
<?php endIf; ?>
$ curl -I https://www.infoteka.pw
curl: (60) SSL certificate problem: Invalid certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
http://www.example.com -> https://example.com
работает?https://www.example.com -> https://example.com
?# example.com:80, www.example.com:80, *.example.com -> example.com:443
server {
listen [::]:80;
listen 80;
server_name example.com; www.example.com; // *.example.com
return 301 https://example.com$request_uri;
}
# www.example.com:443 -> example.com:443
server {
listen [::]:443;
listen 443;
server_name www.example.com; // *.example.com
// include conf.d/ssl.conf;
return 301 https://example.com$request_uri;
}
.list-inline-item:not(:last-child) {
margin-right: .5rem;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}