How to prevent "awselb/2.0" server information exposure in HTTP response header?

0

How to prevent "awselb/2.0" server information exposure in HTTP response header?

Enter image description here

Please provide a solution to the official exposure of "awselb/2.0" to the server response header on AWS.

Example) Option to remove http response header

  • Also, consider opening a support case, and express your use-case why you want to be able to override this header.

iwnoh
demandé il y a 2 mois575 vues
2 réponses
2

Hi,

According to other re:post answers, It is not possible to configure the ELB to do not expose that header.

However, as a workaround, you can override the value using CloudFront edge functions.

profile picture
EXPERT
répondu il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 mois
  • Note even when using. Cloudfront the alb will have to be public still(internet facing). Even if you could mask the server header the IP addresses are registered with AWS

0

It is not possible to hide this header directly on Application Load Balancer. Use Amazon CloudFront's Response Headers Policies instead. Please see my response to a similar question on re:Post, on How to prevent "awselb/2.0" server information exposure in HTTP response header.

AWS
Piotrek
répondu il y a 12 jours

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions