{"action":"opened","issue":{"url":"https://api.github.com/repos/containous/traefik/issues/2028","repository_url":"https://api.github.com/repos/containous/traefik","labels_url":"https://api.github.com/repos/containous/traefik/issues/2028/labels{/name}","comments_url":"https://api.github.com/repos/containous/traefik/issues/2028/comments","events_url":"https://api.github.com/repos/containous/traefik/issues/2028/events","html_url":"https://github.com/containous/traefik/issues/2028","id":253947849,"number":2028,"title":"Use labels to set custom HTTP headers in Docker backend","user":{"login":"DamiaPoquet","id":7280397,"avatar_url":"https://avatars0.githubusercontent.com/u/7280397?v=4","gravatar_id":"","url":"https://api.github.com/users/DamiaPoquet","html_url":"https://github.com/DamiaPoquet","followers_url":"https://api.github.com/users/DamiaPoquet/followers","following_url":"https://api.github.com/users/DamiaPoquet/following{/other_user}","gists_url":"https://api.github.com/users/DamiaPoquet/gists{/gist_id}","starred_url":"https://api.github.com/users/DamiaPoquet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DamiaPoquet/subscriptions","organizations_url":"https://api.github.com/users/DamiaPoquet/orgs","repos_url":"https://api.github.com/users/DamiaPoquet/repos","events_url":"https://api.github.com/users/DamiaPoquet/events{/privacy}","received_events_url":"https://api.github.com/users/DamiaPoquet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-30T10:15:52Z","updated_at":"2017-08-30T10:15:52Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nDO NOT FILE ISSUES FOR GENERAL SUPPORT QUESTIONS.\r\n\r\nThe issue tracker is for reporting bugs and feature requests only.\r\nFor end-user related support questions, refer to one of the following:\r\n\r\n- Stack Overflow (using the \"traefik\" tag): https://stackoverflow.com/questions/tagged/traefik\r\n- the Traefik community Slack channel: https://traefik.herokuapp.com\r\n\r\n-->\r\n\r\n\r\n### Do you want to request a *feature* or report a *bug*?\r\n\r\nRequest a feature\r\n\r\n### What did you do?\r\n\r\n<!--\r\n\r\nHOW TO WRITE A GOOD ISSUE?\r\n\r\n- Respect the issue template as more as possible.\r\n- If it's possible use the command `traefik bug`. See https://www.youtube.com/watch?v=Lyz62L8m93I. \r\n- The title must be short and descriptive.\r\n- Explain the conditions which led you to write this issue: the context.\r\n- The context should lead to something, an idea or a problem that you’re facing.\r\n- Remain clear and concise.\r\n- Format your messages to help the reader focus on what matters and understand the structure of your message, use Markdown syntax https://help.github.com/articles/github-flavored-markdown\r\n\r\n-->\r\n\r\nAdd a label to the Docker container like this:\r\n\r\ntraefik.frontend.customResponseHeaders=X-Custom-Header: foo; bar\r\n\r\n### What did you expect to see?\r\n\r\nTraefik should use the Header Middleware described in #1236 to serve the application with the desired header.\r\n\r\n### What did you see instead?\r\n\r\nNothing happens.\r\n\r\n### Output of `traefik version`: (_What version of Traefik are you using?_)\r\n\r\n```\r\nVersion:      v1.4.0-rc1\r\nCodename:     roquefort\r\nGo version:   go1.9\r\nBuilt:        2017-08-29_08:35:24AM\r\nOS/Arch:      linux/amd64\r\n\r\n```\r\n\r\n### What is your environment & configuration (arguments, toml, provider, platform, ...)?\r\n\r\n```toml\r\ngraceTimeOut = \"10s\"\r\ntraefikLogsFile = \"/var/log/traefik/traefik.log\"\r\naccessLogsFile = \"/var/log/traefik/access.log\"\r\nlogLevel = \"WARN\"\r\n\r\n[acme]\r\nemail = \"test@test.test\"\r\nstorage = \"acme.json\"\r\nentryPoint = \"https\"\r\nacmeLogging = true\r\nOnHostRule = true\r\n\r\n[entryPoints]\r\n  [entryPoints.http]\r\n  address = \":80\"\r\n    [entryPoints.http.redirect]\r\n      entryPoint = \"https\"\r\n  [entryPoints.https]\r\n  address = \":443\"\r\n    [entryPoints.https.tls]\r\n\r\n[web]\r\naddress = \":8080\"\r\n\r\n[docker]\r\nendpoint = \"unix:///var/run/docker.sock\"\r\ndomain = \"docker.domain\"\r\nwatch = true\r\nexposedbydefault = false\r\n\r\n```\r\n<!--\r\nAdd more configuration information here.\r\n-->\r\n\r\n"}}
{"actor":{"display_login":"DamiaPoquet"}}