-1

访问由 apache httpd 托管的站点时,有时可以,有时不可用。
apache httpd 日志如下:
[Mon Sep 02 17:58:52 2013] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Mon Sep 02 17:59:06 2013] [notice] caught SIGTERM, shutting down
[Mon Sep 02 17:59:10 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Sep 02 17:59:10 2013] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Mon Sep 02 18:00:06 2013] [notice] caught SIGTERM, shutting down
[Mon Sep 02 18:00:10 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]

如何配置 apache httpd 来解决这个问题?

4

1 回答 1

0

首先,您必须确保您正确安装了 nginx 或 gunicorn 引擎并正确配置了 mod_ssl。激活 apache mod_ssl : sudo a2enmod ssl 并打开 nginx 或 gunicorn 文件,在之前设置 ssl_cache 以使其正常工作。使用 nginx 设置 ssl_cache 的一个链接是: http ://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_session_cache

于 2013-09-02T10:24:50.683 回答