Ticket #810: ssl-stapling-broken.conf

File ssl-stapling-broken.conf, 858 bytes (added by jsha@…, 11 years ago)

An example config demonstrating the problem. Needs adjustment for appropriate certificates.

Line 
1error_log nginx.error.log;
2pid nginx.pid;
3worker_processes 1;
4daemon off;
5
6events {
7 worker_connections 1024;
8}
9
10http {
11
12 server {
13 listen 127.0.0.1:9443;
14 server_name foo.com;
15 access_log nginx.access.log;
16 ssl on;
17 ssl_certificate cert-fullchain.pem;
18 ssl_certificate_key cert-key.pem;
19 }
20 server {
21 listen 127.0.0.1:9443;
22 server_name 5.le-test.hoffman-andrews.com;
23
24 ssl on;
25 ssl_certificate cert-fullchain.pem;
26 ssl_certificate_key cert-key.pem;
27
28 ssl_stapling on;
29
30 access_log nginx.access.log;
31 location / {
32 root .;
33 index index.html index.htm;
34 }
35 }
36}
37