在带有 HHVM(HipHop VM 3.14.1)和 Nginx(nginx/1.10.1)的 Ubuntu 14.04.4 LTS 上
我尝试在我的虚拟主机中启用如下所示的 HTTP/2
server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
root /var/www/mydomain;
index index.html index.htm index.php;
server_name mydomain.com;
ssl_certificate /etc/nginx/ssl/www_mydomain_com.pem;
ssl_certificate_key /etc/nginx/ssl/server.key;
access_log /var/log/nginx/localhost.laravel-access.log;
error_log /var/log/nginx/locahost.laravel-error.log error;
charset utf-8;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location = /favicon.ico { log_not_found off; access_log off; }
location = /robots.txt { log_not_found off; access_log off; }
error_page 404 /index.php;
include hhvm.conf; # The HHVM Magic Here
# Deny …
Run Code Online (Sandbox Code Playgroud) 我的 Web 服务器使用 Ubuntu 16.04 和 Nginx。我使用 Let's Encrypt 设置了我的网站 SSL。我想获得 Let's Encrypt 的私钥、公钥对。
有人可以指出这些文件的存在位置吗?