Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-26078

Auto Redirect to HTTPS when disable_ui_over_http is set to true

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • None
    • 4.6.1, 4.6.2, 4.6.3, 5.0.0
    • ns_server
    • None

    Description

      We should auto redirect the client who is making a web request over http to https if disable_ui_over_http=true

       

      Current Results (HTTP):

      [root@ip-10-0-84-50 ~]# curl  -kIL http://localhost:8091
      HTTP/1.1 301 Moved Permanently
      Server: Couchbase Server
      Pragma: no-cache
      Location: http://localhost:8091/ui/index.html
      Date: Mon, 18 Sep 2017 03:22:15 GMT
      Content-Type: text/html
      Content-Length: 236
      Cache-Control: no-cache
       
      HTTP/1.1 404 Object Not Found
      Server: Couchbase Server
      Pragma: no-cache
      Date: Mon, 18 Sep 2017 03:22:15 GMT
      Content-Length: 0
      Cache-Control: no-cache

       

       

      Current Results (HTTPS): 

      [root@ip-10-0-84-50 ~]# curl  -kIL https://localhost:18091
      HTTP/1.1 301 Moved Permanently
      Server: Couchbase Server
      Pragma: no-cache
      Location: https://localhost:18091/ui/index.html
      Date: Mon, 18 Sep 2017 03:23:40 GMT
      Content-Type: text/html
      Content-Length: 238
      Cache-Control: no-cache
       
      HTTP/1.1 200 OK
      Server: Couchbase Server
      Pragma: no-cache
      Date: Mon, 18 Sep 2017 03:23:40 GMT
      Content-Type: text/html; charset=utf8
      Content-Length: 4827
      Cache-Control: must-revalidate

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dfinlay Dave Finlay
            asif.kazi Asif Kazi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty