]> git.pld-linux.org Git - packages/nginx.git/commitdiff
- 1.0.6 auto/th/nginx-1_0_6-1
authorareq <areq@pld-linux.org>
Mon, 5 Sep 2011 19:47:00 +0000 (19:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nginx-gcc46-build.patch -> 1.2
    nginx.spec -> 1.107
    proxy.conf -> 1.1

nginx-gcc46-build.patch [deleted file]
nginx.spec
proxy.conf [new file with mode: 0644]

diff --git a/nginx-gcc46-build.patch b/nginx-gcc46-build.patch
deleted file mode 100644 (file)
index 052aec7..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -ur nginx-1.0.5-orig/src/event/ngx_event_openssl.c nginx-1.0.5/src/event/ngx_event_openssl.c
---- nginx-1.0.5-orig/src/event/ngx_event_openssl.c     2011-01-20 13:33:17.000000000 +0100
-+++ nginx-1.0.5/src/event/ngx_event_openssl.c  2011-08-24 17:21:39.107319828 +0200
-@@ -1687,20 +1687,24 @@
-     ngx_int_t                 rc;
-     ngx_shm_zone_t           *shm_zone;
-     ngx_slab_pool_t          *shpool;
--    ngx_connection_t         *c;
--    ngx_rbtree_node_t        *node, *sentinel;
-+#if (NGX_DEBUG)
-+      ngx_connection_t         *c;
-+#endif
-+      ngx_rbtree_node_t        *node, *sentinel;
-     ngx_ssl_session_t        *sess;
-     ngx_ssl_sess_id_t        *sess_id;
-     ngx_ssl_session_cache_t  *cache;
-     u_char                    buf[NGX_SSL_MAX_SESSION_SIZE];
--    c = ngx_ssl_get_connection(ssl_conn);
--
-     hash = ngx_crc32_short(id, (size_t) len);
-     *copy = 0;
-+#if (NGX_DEBUG)
-+    c = ngx_ssl_get_connection(ssl_conn);
-+
-     ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0,
-                    "ssl get session: %08XD:%d", hash, len);
-+#endif
-     shm_zone = SSL_CTX_get_ex_data(SSL_get_SSL_CTX(ssl_conn),
-                                    ngx_ssl_session_cache_index);
index fea2612f4be419dbd5c6ddab88793227ca81d154..e59b279e841df5d1a5f62c40c07a0a206276ed41 100644 (file)
 Summary:       High perfomance HTTP and reverse proxy server
 Summary(pl.UTF-8):     Serwer HTTP i odwrotne proxy o wysokiej wydajnoĹ›ci
 Name:          nginx
-Version:       1.0.5
+Version:       1.0.6
 Release:       1
 License:       BSD-like
 Group:         Networking/Daemons/HTTP
-Source0:       http://sysoev.ru/nginx/%{name}-%{version}.tar.gz
-# Source0-md5: 373c7761a7c682b92b164c8ee3d6d243
-Source1:       http://www.nginx.eu/favicon.ico
+Source0:       http://nginx.org/download/%{name}-%{version}.tar.gz
+# Source0-md5: bc98bac3f0b85da1045bc02e6d8fc80d
+Source1:       http://nginx.net/favicon.ico
 # Source1-md5: 2aaf2115c752cbdbfb8a2f0b3c3189ab
-Source2:       http://www.nginx.eu/download/proxy.conf
-# Source2-md5: f5263ae01c2edb18f46d5d1df2d3a5cd
+Source2:       proxy.conf
 Source3:       %{name}.logrotate
 Source4:       %{name}.mime
 Source5:       %{name}-light.conf
@@ -48,7 +47,6 @@ Source14:     %{name}-standard.conf
 Source15:      %{name}-standard.monitrc
 Source16:      %{name}-standard.init
 Source17:      %{name}-mime.types.sh
-Patch0:                %{name}-gcc46-build.patch
 URL:           http://nginx.net/
 BuildRequires: mailcap
 BuildRequires: openssl-devel
@@ -211,7 +209,6 @@ Plik monitrc do monitorowania serwera WWW nginx.
 
 %prep
 %setup -q
-%patch0 -p1
 
 # build mime.types.conf
 #sh %{SOURCE17} /etc/mime.types
diff --git a/proxy.conf b/proxy.conf
new file mode 100644 (file)
index 0000000..cef058b
--- /dev/null
@@ -0,0 +1,15 @@
+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;
+client_max_body_size           10m;
+client_body_buffer_size                128k;
+proxy_connect_timeout          90;
+proxy_send_timeout             90;
+proxy_read_timeout             90;
+proxy_buffer_size              4k;
+proxy_buffers                  4 32k;
+proxy_busy_buffers_size                64k;
+proxy_temp_file_write_size     64k;
+
+
This page took 0.030158 seconds and 4 git commands to generate.