{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/ingress-nginx/issues/4317","repository_url":"https://api.github.com/repos/kubernetes/ingress-nginx","labels_url":"https://api.github.com/repos/kubernetes/ingress-nginx/issues/4317/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/ingress-nginx/issues/4317/comments","events_url":"https://api.github.com/repos/kubernetes/ingress-nginx/issues/4317/events","html_url":"https://github.com/kubernetes/ingress-nginx/issues/4317","id":467321051,"node_id":"MDU6SXNzdWU0NjczMjEwNTE=","number":4317,"title":"The plain HTTP request was sent to HTTPS port","user":{"login":"swvaibhav","id":30657205,"node_id":"MDQ6VXNlcjMwNjU3MjA1","avatar_url":"https://avatars0.githubusercontent.com/u/30657205?v=4","gravatar_id":"","url":"https://api.github.com/users/swvaibhav","html_url":"https://github.com/swvaibhav","followers_url":"https://api.github.com/users/swvaibhav/followers","following_url":"https://api.github.com/users/swvaibhav/following{/other_user}","gists_url":"https://api.github.com/users/swvaibhav/gists{/gist_id}","starred_url":"https://api.github.com/users/swvaibhav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swvaibhav/subscriptions","organizations_url":"https://api.github.com/users/swvaibhav/orgs","repos_url":"https://api.github.com/users/swvaibhav/repos","events_url":"https://api.github.com/users/swvaibhav/events{/privacy}","received_events_url":"https://api.github.com/users/swvaibhav/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-07-12T09:42:48Z","updated_at":"2019-07-16T05:23:02Z","closed_at":"2019-07-12T17:37:09Z","author_association":"NONE","body":"We are using `GKE` and have deployed `nginx-ingress` as the `IngressController`. While accessing the IP of the LoadBalancer on port `443`, nginx is returning back the below page.\r\n\r\n```html\r\n<html>\r\n<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n<center>The plain HTTP request was sent to HTTPS port</center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n```\r\nI tried using `custom-http-errors` in the `ConfigMap` and have added the `--default-backend-service` flag in the `Deployment` YAML file of nginx-ingress-controller.\r\n\r\nI am trying to achieve either of the below things:\r\n\r\n1. Replace the page with a custom a page.\r\n2. Remove the name of server `nginx` coming in the page."},"comment":{"url":"https://api.github.com/repos/kubernetes/ingress-nginx/issues/comments/511669589","html_url":"https://github.com/kubernetes/ingress-nginx/issues/4317#issuecomment-511669589","issue_url":"https://api.github.com/repos/kubernetes/ingress-nginx/issues/4317","id":511669589,"node_id":"MDEyOklzc3VlQ29tbWVudDUxMTY2OTU4OQ==","user":{"login":"swvaibhav","id":30657205,"node_id":"MDQ6VXNlcjMwNjU3MjA1","avatar_url":"https://avatars0.githubusercontent.com/u/30657205?v=4","gravatar_id":"","url":"https://api.github.com/users/swvaibhav","html_url":"https://github.com/swvaibhav","followers_url":"https://api.github.com/users/swvaibhav/followers","following_url":"https://api.github.com/users/swvaibhav/following{/other_user}","gists_url":"https://api.github.com/users/swvaibhav/gists{/gist_id}","starred_url":"https://api.github.com/users/swvaibhav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swvaibhav/subscriptions","organizations_url":"https://api.github.com/users/swvaibhav/orgs","repos_url":"https://api.github.com/users/swvaibhav/repos","events_url":"https://api.github.com/users/swvaibhav/events{/privacy}","received_events_url":"https://api.github.com/users/swvaibhav/received_events","type":"User","site_admin":false},"created_at":"2019-07-16T05:23:02Z","updated_at":"2019-07-16T05:23:02Z","author_association":"NONE","body":"@aledbf Any help on this would be really great."}}
{"actor":{"display_login":"swvaibhav"}}