Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-13481

bootstrap.js not using the configured basepath

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 3.3.2
    • Fix Version/s: None
    • Component/s: Capabilities
    • Labels:
      None
    • Environment:
      Ubuntu 16.04.2 LTS

      Description

      bootstrap.js ignores https in a custom base path when sitting behind reverse proxy using https.

      Nexus hangs at the landing page showing "Initializing" and failing to load static content like so ...

      https://dev.xxxxxx.com/nexus3/static/rapture/bootstrap.js

      querying bootstrap.js directly using the https address shows that it drops the 's' from the protocol

       

      ...
      Ext.ns('NX.app');
      NX.app.baseUrl = 'http://dev.xxxxxx.com/nexus3';
      NX.app.urlSuffix = '_v=3.3.2-02';

       

       

      Accessing nexus directly using http and relevant port works fine, and querying bootstrap.js directy shows the baseurl is correctly included

       

      ...
      Ext.ns('NX.app');
      NX.app.baseUrl = 'http://dev.xxxxxx.com:8091/nexus3';
      NX.app.urlSuffix = '_v=3.3.2-02';

       

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            spuriousnoise Blake Swadling
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title