|
|
|
@ -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;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|