This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
1
Echo request headers in response body
Post Body
Hi experts, I'm trying to setup nginx to simply return all incomingrequest headers as the response body. Is there a simple way to do this? I've found a few resources online but they don't explain from step 1 so as a beginner here I'm a bit lost.
I'm also open using something else as the point of this is just to see those headers returned in a webpage, I don't particularly care how it's done but I am using Windows otherwise I would just install httpbin
Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
9,258
Link Karma
1,641
Comment Karma
7,399
Profile updated: 5 days ago
Posts updated: 3 weeks ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/nginx/comme...