aws-amplify / aws-amplify/amplify-hosting

Is there any way to remove HTTP headers from response for amplify hosting i.e Server Header

Open
#3,541 5 comments 2 reactions 0 assignees View on GitHub
compute custom-headers feature-request
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

### Before opening, please confirm:

- [X] I have checked to see if my question is addressed in the [FAQ](https://github.com/aws-amplify/amplify-hosting/blob/master/FAQ.md).
- [X] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-hosting/issues?q=is%3Aissue+).
- [X] I have read the guide for [submitting questions](https://github.com/aws-amplify/amplify-hosting/blob/master/CONTRIBUTING.md).
- [X] I have removed any sensitive information from my code snippets and submission.

### App Id

NEW_APP

### AWS Region

us-east-1

### Amplify Hosting feature

Custom headers

### Question

I want to remove some headers from HTTP response & one of the headers is Server Header.
I know we have a way to add custom headers but can we also remove/hide some headers?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing FAQ.md and the Custom headers feature referenced in the issue, then check the relevant Amplify Hosting documentation for supported response-header controls. Determine whether removing the Server header is supported and, if not, what documented limitation or product change would be needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.