clone3 commited on
Commit
a7b9197
·
verified ·
1 Parent(s): 254a7cd

Upload nginx.conf

Browse files
Files changed (1) hide show
  1. etc/nginx/nginx.conf +32 -0
etc/nginx/nginx.conf ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ user nginx;
2
+ worker_processes auto;
3
+
4
+ error_log /var/log/nginx/error.log notice;
5
+ pid /var/run/nginx.pid;
6
+
7
+ events {
8
+ worker_connections 1024;
9
+ }
10
+
11
+ http {
12
+ include /etc/nginx/mime.types;
13
+ default_type application/octet-stream;
14
+
15
+ log_format main '$remote_addr - $remote_user [$time_local] "$request" '
16
+ '$status $body_bytes_sent "$http_referer" '
17
+ '"$http_user_agent" "$http_x_forwarded_for"';
18
+
19
+ access_log /var/log/nginx/access.log main;
20
+
21
+ sendfile on;
22
+ #tcp_nopush on;
23
+
24
+ keepalive_timeout 65;
25
+
26
+ #gzip on;
27
+ include /etc/nginx/conf.d/http/*.conf;
28
+ }
29
+
30
+ stream {
31
+ include /etc/nginx/conf.d/stream/*.conf;
32
+ }