Fixed
Details
Assignee
Marcin ChalczynskiMarcin ChalczynskiReporter
Marcin ChalczynskiMarcin ChalczynskiLabels
Story Points
8Priority
MediumSprint
NoneBacklog
yes
Details
Details
Assignee
Marcin Chalczynski
Marcin ChalczynskiReporter
Marcin Chalczynski
Marcin ChalczynskiLabels
Story Points
8
Priority
Sprint
None
Backlog
yes
Zendesk Support
Zendesk Support
Zendesk Support
Checklist
Checklist
Checklist
Created June 7, 2017 at 9:31 AM
Updated March 27, 2024 at 3:55 PM
Resolved June 30, 2017 at 10:15 AM
We decided to fix the header injection issue at least in the production environment (https://northerntech.atlassian.net/browse/MEN-1160#icft=MEN-1160).
The way to go is to:
define a
server_name
innginx.conf
, which will contain the actual domainthis has to be parametrized like multiple other settings in
prod.yml
currently the config is embedded in the gateway container - we should pull it out into the integration repo first and mount it accordingly
disallow requests with
Host != actual domain
common technique is an additional catch-all server block, e.g. https://serverfault.com/questions/559095/nginx-responding-to-unknown-host-names
add a guidance to
mender-docs
on substituting theserver_name
upon production install