markdown 在自定义PHP网站上启用SSL证书

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 在自定义PHP网站上启用SSL证书相关的知识,希望对你有一定的参考价值。

To enable [SSL on PHP](https://www.cloudways.com/blog/add-ssl-certificates-to-custom-php-sites/), you need to install the SSL certificate. If you are doing it using Cloudways, then you can either enable Free SSL by Let's Encrypt on one click from the settings or install custom SSL.






```
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(.well-known[/]acme-challenge[/]yoururl)$  index2.php    [NC,L]    # Handle product requests
```

以上是关于markdown 在自定义PHP网站上启用SSL证书的主要内容,如果未能解决你的问题,请参考以下文章