-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathnginx.conf
More file actions
executable file
·48 lines (37 loc) · 912 Bytes
/
nginx.conf
File metadata and controls
executable file
·48 lines (37 loc) · 912 Bytes
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
45
46
daemon off;
worker_processes 1;
worker_rlimit_nofile 65536;
error_log /var/log/nginx/error.log warn;
events {
worker_connections 8192;
}
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 300;
keepalive_requests 5000;
include /etc/nginx/mime.types;
default_type application/octet-stream;
client_max_body_size 512m;
client_header_buffer_size 32k;
large_client_header_buffers 4 64k;
charset utf-8;
access_log /dev/null;
server {
listen 80;
location / {
include uwsgi_params;
uwsgi_pass 127.0.0.1:8123;
}
}
server {
listen 443 ssl;
ssl_certificate /etc/nginx/ssl/domainconnect.org.crt;
ssl_certificate_key /etc/nginx/ssl/domainconnect.org.key;
location / {
include uwsgi_params;
uwsgi_pass 127.0.0.1:8123;
}
}
}