- root@dedi-fr-19369:~/install/nginx-1.8.0# sudo sed -i "s/static char ngx_http_server_string\[\] = \"Server: nginx\" CRLF;/static char ngx_http_server_string\[\] = \"Server: Lol web server\" CRLF;/g" /install/nginx-1.8.0/src/http/ngx_http_header_filter_module.c
- sed: can't read /install/nginx-1.8.0/src/http/ngx_http_header_filter_module.c: No such file or directory
- root@dedi-fr-19369:~/install/nginx-1.8.0#
- root@dedi-fr-19369:~/install/nginx-1.8.0/src/http# ls
- modules ngx_http_core_module.c ngx_http_parse.c ngx_http_request.h ngx_http_spdy.h ngx_http_upstream.h ngx_http_write_filter_module.c
- ngx_http.c ngx_http_core_module.h ngx_http_parse_time.c ngx_http_script.c ngx_http_spdy_module.c ngx_http_upstream_round_robin.c
- ngx_http_cache.h ngx_http_file_cache.c ngx_http_postpone_filter_module.c ngx_http_script.h ngx_http_spdy_module.h ngx_http_upstream_round_robin.h
- ngx_http_config.h ngx_http.h ngx_http_request_body.c ngx_http_spdy.c ngx_http_special_response.c ngx_http_variables.c
- ngx_http_copy_filter_module.c ngx_http_header_filter_module.c ngx_http_request.c ngx_http_spdy_filter_module.c ngx_http_upstream.c ngx_http_variables.h
- root@dedi-fr-19369:~/install/nginx-1.8.0/src/http#
SHARE
TWEET
Untitled
a guest
Oct 28th, 2015
122
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
