{"action":"created","issue":{"url":"https://api.github.com/repos/rancherio/rancher/issues/1151","labels_url":"https://api.github.com/repos/rancherio/rancher/issues/1151/labels{/name}","comments_url":"https://api.github.com/repos/rancherio/rancher/issues/1151/comments","events_url":"https://api.github.com/repos/rancherio/rancher/issues/1151/events","html_url":"https://github.com/rancherio/rancher/issues/1151","id":87266317,"number":1151,"title":"Can not access to Rancher Management Server behind Nginx as https reverse proxy","user":{"login":"winggundamth","id":4833238,"avatar_url":"https://avatars.githubusercontent.com/u/4833238?v=3","gravatar_id":"","url":"https://api.github.com/users/winggundamth","html_url":"https://github.com/winggundamth","followers_url":"https://api.github.com/users/winggundamth/followers","following_url":"https://api.github.com/users/winggundamth/following{/other_user}","gists_url":"https://api.github.com/users/winggundamth/gists{/gist_id}","starred_url":"https://api.github.com/users/winggundamth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winggundamth/subscriptions","organizations_url":"https://api.github.com/users/winggundamth/orgs","repos_url":"https://api.github.com/users/winggundamth/repos","events_url":"https://api.github.com/users/winggundamth/events{/privacy}","received_events_url":"https://api.github.com/users/winggundamth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rancherio/rancher/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-11T08:56:07Z","updated_at":"2015-06-23T13:10:34Z","closed_at":null,"body":"Hi. I'm using Nginx container to listen on port 80 and 443 to act as reverse proxy for every containers both http and https. After I put Rancher Management Server behind Nginx it always showing an error on only https\r\n\r\n```\r\nError\r\n[Exception... \"<no message>\" nsresult: \"0x805e0006 (<unknown>)\" location: \"JS frame :: https://releases.rancher.com/ui/0.24.0/assets/vendor.js :: .send :: line 3\" data: no]\r\nReload to try again or log out\r\n```\r\n\r\nBut http access and direct access to Rancher Management Server is working fine. This is how I run Rancher Management Server\r\n\r\n```bash\r\ndocker run --name=rancher-server -d --restart=always -p 8080:8080 rancher/server\r\n```\r\n\r\nThis is my Nginx configuration\r\n\r\n```\r\nserver {\r\n  listen 80;\r\n  server_name rancher.example.com ;\r\n\r\n  location / {\r\n    include proxy_params;\r\n    proxy_pass http://172.17.42.1:8080;\r\n  }\r\n\r\n}\r\n\r\nserver {\r\n\r\n  listen 443;\r\n\r\n  ssl on;\r\n  ssl_certificate_key /etc/ssl/private/rancher.example.com.key;\r\n  ssl_certificate /etc/ssl/private/rancher.example.com.crt;\r\n\r\n  ## Strong SSL Security\r\n  ## https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html & https://cipherli.st/\r\n  ssl_ciphers \"ECDHE-RSA-AES128-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA128:DHE-RSA-AES128-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA128:ECDHE-RSA-AES128-SHA384:ECDHE-RSA-AES128-SHA128:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA128:DHE-RSA-AES128-SHA128:DHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA384:AES128-GCM-SHA128:AES128-SHA128:AES128-SHA128:AES128-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4\";\r\n  ssl_protocols TLSv1 TLSv1.1 TLSv1.2;\r\n  ssl_prefer_server_ciphers on;\r\n  ssl_session_cache shared:SSL:10m;\r\n  add_header Strict-Transport-Security \"max-age=63072000; includeSubdomains; preload\";\r\n  add_header X-Frame-Options DENY;\r\n  add_header X-Content-Type-Options nosniff;\r\n  ssl_stapling on; # Requires nginx >= 1.3.7\r\n  ssl_stapling_verify on; # Requires nginx >= 1.3.7\r\n  resolver 8.8.8.8 8.8.4.4 valid=300s;\r\n  resolver_timeout 5s;\r\n\r\n  server_name rancher.example.com ;\r\n  server_tokens off; ## Don't show the nginx version number, a security best practice\r\n\r\n  ## Increase this if you want to upload large attachments\r\n  client_max_body_size 0;\r\n\r\n  location / {\r\n    include proxy_params;\r\n    proxy_pass http://172.17.42.1:8080;\r\n  }\r\n\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/rancherio/rancher/issues/comments/114494876","html_url":"https://github.com/rancherio/rancher/issues/1151#issuecomment-114494876","issue_url":"https://api.github.com/repos/rancherio/rancher/issues/1151","id":114494876,"user":{"login":"winggundamth","id":4833238,"avatar_url":"https://avatars.githubusercontent.com/u/4833238?v=3","gravatar_id":"","url":"https://api.github.com/users/winggundamth","html_url":"https://github.com/winggundamth","followers_url":"https://api.github.com/users/winggundamth/followers","following_url":"https://api.github.com/users/winggundamth/following{/other_user}","gists_url":"https://api.github.com/users/winggundamth/gists{/gist_id}","starred_url":"https://api.github.com/users/winggundamth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winggundamth/subscriptions","organizations_url":"https://api.github.com/users/winggundamth/orgs","repos_url":"https://api.github.com/users/winggundamth/repos","events_url":"https://api.github.com/users/winggundamth/events{/privacy}","received_events_url":"https://api.github.com/users/winggundamth/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T13:10:34Z","updated_at":"2015-06-23T13:10:34Z","body":"@hjianhao Please see that problem happen with https not http. I already try with your configuration in https context but still not working."}}