NvXZVgIT8c97DpMeN7e6b changeset

Changeset316335323038 (b)
ParentNone (a)
ab
0+# cat /etc/nginx/nginx.conf
0+# timelines-config
0+worker_processes 1;
0+user www-data www-data;
0+pid /var/run/nginx.pid;
0+
0+events {
0+  worker_connections  1024;
0+}
0+
0+http {
0+  access_log /var/log/nginx/access.log;
0+  error_log /var/log/nginx/error.log;
0+  include mime.types;
0+  default_type application/octet-stream;
0+  sendfile on;
0+  tcp_nopush on;
0+  keepalive_timeout 65;
0+  gzip on;
0+  gzip_comp_level 2;
0+  gzip_buffers 16 8k;
0+  gzip_disable "MSIE [1-6]\.";
0+  gzip_proxied any;
0+  gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
0+ 
0+  server {
0+    listen 80;
0+    location / {
0+      proxy_pass http://localhost:5984;
0+      proxy_redirect off;
0+      proxy_set_header Host $host;
0+      proxy_set_header X-Real-IP $remote_addr;
0+      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
0+    }
0+  }
0+}
...
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
--- Revision None
+++ Revision 316335323038
@@ -0,0 +1,36 @@
+# cat /etc/nginx/nginx.conf
+# timelines-config
+worker_processes 1;
+user www-data www-data;
+pid /var/run/nginx.pid;
+
+events {
+ worker_connections 1024;
+}
+
+http {
+ access_log /var/log/nginx/access.log;
+ error_log /var/log/nginx/error.log;
+ include mime.types;
+ default_type application/octet-stream;
+ sendfile on;
+ tcp_nopush on;
+ keepalive_timeout 65;
+ gzip on;
+ gzip_comp_level 2;
+ gzip_buffers 16 8k;
+ gzip_disable "MSIE [1-6]\.";
+ gzip_proxied any;
+ gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
+
+ server {
+ listen 80;
+ location / {
+ proxy_pass http://localhost:5984;
+ proxy_redirect off;
+ proxy_set_header Host $host;
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ }
+ }
+}