While redirecting with 302, openresty outputs its version within the html output.
How can we prevent this?
We would like to get a 302 response without any information about the product and its version.
How can we achieve this?
Best Regards
nocontrol
< HTTP/1.1 302 Found
< Date: Fri, 04 Dec 2020 08:25:29 GMT
< Server: Apache
< Vary: Referer,User-Agent
< Set-Cookie: Path=/; Secure; HttpOnly; SameSite=Lax
< Content-Length: 151
< Cache-Control: no-cache, no-store, max-age=0
< Location:
https://www.....
< X-Frame-Options: SAMEORIGIN
< Strict-Transport-Security: max-age=16070400
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Referrer-Policy: same-origin
< Content-Type: text/html
<
<html>
<head><title>302 Found</title></head>
<body>
<center><h1>302 Found</h1></center>
<hr><center>openresty/
1.15.8.3</center>
</body>
</html>