Apache 如何使用httpd作为反向代理隐藏odoo服务器信息

Apache 如何使用httpd作为反向代理隐藏odoo服务器信息,apache,odoo,reverse-proxy,odoo-13,Apache,Odoo,Reverse Proxy,Odoo 13,我在centos 8上安装了odoo,并使用httpd作为反向代理。与其他Apache强化一样,我使用ServerTokens ProddanServerSignature Off隐藏服务器信息 但是当我尝试wget时,结果仍然显示服务器信息 Spider mode enabled. Check if remote file exists. --2020-03-12 11:57:14-- http://my.domain/ Resolving my.domain (my.domain)...

我在centos 8上安装了odoo,并使用httpd作为反向代理。与其他Apache强化一样,我使用
ServerTokens Prod
dan
ServerSignature Off
隐藏服务器信息

但是当我尝试
wget
时,结果仍然显示服务器信息

Spider mode enabled. Check if remote file exists.
--2020-03-12 11:57:14--  http://my.domain/
Resolving my.domain (my.domain)... 169.0.0.1
Connecting to my.domain (my.domain)|169.0.0.1|:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 301 Moved Permanently
  Content-length: 0
  Location: https://my.domain/
Location: https://my.domain/ [following]
Spider mode enabled. Check if remote file exists.
--2020-03-12 11:57:14--  https://my.domain/
Connecting to my.domain (my.domain)|169.0.0.1|:443... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 200 OK
  Date: Thu, 12 Mar 2020 04:56:55 GMT
  Server: Werkzeug/0.14.1 Python/3.7.5
  Content-Type: text/html; charset=utf-8
  Content-Length: 10589
  Set-Cookie: frontend_lang=en_US; Path=/
  Set-Cookie: session_id=s8487a5ec76bd455f42680c38195b5f7f0285d563; Expires=Wed, 10-Jun-2020 04:56:55 GMT; Max-Age=7776000; HttpOnly; Path=/
  Vary: User-Agent
Length: 10589 (10K) [text/html]
Remote file exists and could contain further links,
but recursion is disabled -- not retrieving.

它可以使用
mod_头
mod_重写
,然后添加

向apache虚拟主机添加所需的
头集服务器“值”