You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2022/10/01 01:43:14 UTC

[GitHub] [incubator-pagespeed-ngx] antoniovalenzuela opened a new issue, #1761: Server Header Override

antoniovalenzuela opened a new issue, #1761:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1761

   pagespeed override the "more_clear_headers" module
   
   Test options, but header returns "Server: Nginx"
   
   more_clear_headers Server;
   more_set_headers "Server:";
   
    Nginx v1.22.1
    pagespeed v1.13.35.2
   
    
   ![image](https://user-images.githubusercontent.com/28113584/193378221-669496cf-8a9a-4944-a59f-a1825a3d4b18.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-pagespeed-ngx] antoniovalenzuela commented on issue #1761: Server Header Override

Posted by GitBox <gi...@apache.org>.
antoniovalenzuela commented on issue #1761:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1761#issuecomment-1264350823

   Reeplace in src
   sed -i 's@"nginx/"@"-/"https://github.com/g' src/core/nginx.h
   sed -i 's@r->headers_out.server == NULL@0@g' src/http/ngx_http_header_filter_module.c
   sed -i 's@r->headers_out.server == NULL@0@g' src/http/v2/ngx_http_v2_filter_module.c


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-pagespeed-ngx] antoniovalenzuela commented on issue #1761: Server Header Override

Posted by GitBox <gi...@apache.org>.
antoniovalenzuela commented on issue #1761:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1761#issuecomment-1264350748

   Reeplace in src
   sed -i 's@"nginx/"@"-/"@g' src/core/nginx.h
   sed -i 's@r->headers_out.server == NULL@0@g' src/http/ngx_http_header_filter_module.c
   sed -i 's@r->headers_out.server == NULL@0@g' src/http/v2/ngx_http_v2_filter_module.c


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-pagespeed-ngx] antoniovalenzuela closed issue #1761: Server Header Override

Posted by GitBox <gi...@apache.org>.
antoniovalenzuela closed issue #1761: Server Header Override
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1761


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org