| 1 | error_log nginx.error.log;
|
|---|
| 2 | pid nginx.pid;
|
|---|
| 3 | worker_processes 1;
|
|---|
| 4 | daemon off;
|
|---|
| 5 |
|
|---|
| 6 | events {
|
|---|
| 7 | worker_connections 1024;
|
|---|
| 8 | }
|
|---|
| 9 |
|
|---|
| 10 | http {
|
|---|
| 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 |
|
|---|