-
Notifications
You must be signed in to change notification settings - Fork 2
/
nginxmin.conf
44 lines (41 loc) · 1.3 KB
/
nginxmin.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
worker_processes 1;
error_log $RUNTOP/nginx/logs/error.log info;
# this makes valgrind/gdb easier
# daemon off;
# # if debugging is needed - we get a core in /tmp/cores
# and then: sudo gdb ~/code/nginx/objs/nginx /tmp/cores/core
# for a backtrace
# error_log logs/error.log debug;
# working_directory /tmp/cores/;
# worker_rlimit_core 500M;
events {
worker_connections 1024;
}
http {
access_log $RUNTOP/nginx/logs/access.log combined;
ssl_echkeydir $RUNTOP/echkeydir;
server {
listen 5443 default_server ssl;
http2 on;
ssl_certificate $RUNTOP/cadir/example.com.crt;
ssl_certificate_key $RUNTOP/cadir/example.com.priv;
ssl_protocols TLSv1.3;
server_name example.com;
location / {
root $RUNTOP/nginx/dir-example.com;
index index.html index.htm;
}
}
server {
listen 5443 ssl;
http2 on;
ssl_certificate $RUNTOP/cadir/foo.example.com.crt;
ssl_certificate_key $RUNTOP/cadir/foo.example.com.priv;
ssl_protocols TLSv1.3;
server_name foo.example.com;
location / {
root $RUNTOP/nginx/dir-foo.example.com;
index index.html index.htm;
}
}
}