-
Notifications
You must be signed in to change notification settings - Fork 0
/
nginx.conf
40 lines (32 loc) · 823 Bytes
/
nginx.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
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 127.0.0.1:9876;
server_name pauli;
access_log nginx.access.log;
error_log nginx.error.log;
include nginx.shinyserver.conf;
}
server {
listen 127.0.0.1:9877;
server_name pauli;
access_log nginx.ssl.access.log;
error_log nginx.ssl.error.log;
include nginx.shinyserver.conf;
ssl on;
ssl_certificate server.crt;
ssl_certificate_key server.key;
}
}