Score:0

Remove "Via" response header from "ledge"

ma flag

I have an Openresty web-server that is also working as caching server by using ledge. ledge is setting a "Via" response header that exposing the hostname of the server which is fqdn.

Via: 1.1 xyz.example.com

I have these in my openresty and ledge config:

more_clear_headers 'Server';
server_tokens off;

I would like to remove the "Via" response header completely. But unable to figure out how to do it on ledge :(

Score:0
ma flag

I was able to figure it out and it's a simple one. Has nothing to do with ledge. Just added 'Via' in more_clear_headers rule.

more_clear_headers 'Server' 'Via';
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.