You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are cases when it is desirable to preserve the Host header when implementing a reverse proxy.
Here's how this looks with other popular reverse proxies.
# nginx
proxy_set_header Host $http_host;
# Apache2
ProxyPreserveHost On
In the general case [IIUC], it is desirable to strip the Host header, as keter does. But I think this should be configurable, so I would propose an extension to ReverseProxyConfig such that in keter.yml, you could tell keter not to strip that header by writing something like this:
and then just pass it to the filter header function (instead of always false whatever the config setting is).
by default (or omission) it needs to be set to false.
There are cases when it is desirable to preserve the
Host
header when implementing a reverse proxy.Here's how this looks with other popular reverse proxies.
In the general case [IIUC], it is desirable to strip the
Host
header, as keter does. But I think this should be configurable, so I would propose an extension toReverseProxyConfig
such that inketer.yml
, you could tell keter not to strip that header by writing something like this:The text was updated successfully, but these errors were encountered: