diff --git a/patches/nginx-1.5.7-no_pool.patch b/patches/nginx-1.5.7-no_pool.patch index f81aef8..f7686e4 100644 --- a/patches/nginx-1.5.7-no_pool.patch +++ b/patches/nginx-1.5.7-no_pool.patch @@ -6,8 +6,8 @@ diff -upr nginx-1.5.7/src/core/nginx.h nginx-1.5.7-patched/src/core/nginx.h #define nginx_version 1005007 #define NGINX_VERSION "1.5.7" --#define NGINX_VER "ngx_openresty/" NGINX_VERSION ".unknown" -+#define NGINX_VER "ngx_openresty/" NGINX_VERSION ".unknown (no pool)" +-#define NGINX_VER "openresty/" NGINX_VERSION ".unknown" ++#define NGINX_VER "openresty/" NGINX_VERSION ".unknown (no pool)" #define NGINX_VAR "NGINX" Only in nginx-1.5.7-patched/src/core: nginx.h.orig diff --git a/patches/nginx-1.5.7-server_header.patch b/patches/nginx-1.5.7-server_header.patch index f5c116b..189cccf 100644 --- a/patches/nginx-1.5.7-server_header.patch +++ b/patches/nginx-1.5.7-server_header.patch @@ -6,7 +6,7 @@ diff -ur lz-nginx-1.5.7/nginx-1.5.7/src/core/nginx.h lz-nginx-1.5.7-patched/ngin #define nginx_version 1005007 #define NGINX_VERSION "1.5.7" -#define NGINX_VER "nginx/" NGINX_VERSION -+#define NGINX_VER "ngx_openresty/" NGINX_VERSION ".unknown" ++#define NGINX_VER "openresty/" NGINX_VERSION ".unknown" #define NGINX_VAR "NGINX" #define NGX_OLDPID_EXT ".oldbin" @@ -20,7 +20,7 @@ diff -ur lz-nginx-1.5.7/nginx-1.5.7/src/http/ngx_http_header_filter_module.c lz- -static char ngx_http_server_string[] = "Server: nginx" CRLF; -+static char ngx_http_server_string[] = "Server: ngx_openresty" CRLF; ++static char ngx_http_server_string[] = "Server: openresty" CRLF; static char ngx_http_server_full_string[] = "Server: " NGINX_VER CRLF;