Performing a Local Installation of Connect

If you need to host the IBM Aspera Connect Plug-in SDK installers locally, you can download the Connect SDK file and configure Shares to point to a local copy of the Connect SDK hosted at a non-standard location. In this way, your customers can make their users download Connect from a server of their choice.
  1. Create the directory, C:\Shares\connect-sdk, and extract the contents of the connect SDK into this directory.
  2. Edit the Nginx configuration file.
    Edit the nginx.conf file (C:\Shares\nginx\conf\nginx.conf). Insert the following content:
    location /connect/ {
      alias C:/Shares/connect-sdk/;
      expires 1d;
    }
    Add the above code to the server section:
      server {
        listen                    8080;
        rewrite ^ https://$host:443$request_uri? permanent;
      }
    
      server {
        listen                    443;
        root                      ../www/public;
    
        error_page                500 502 503 504 /500.html;
        error_page                413 /413.html;
    
        add_header X-Frame-Options SAMEORIGIN;
    
        ssl                       on;
        ssl_certificate           cert.pem;
        ssl_certificate_key       cert.key;
        ssl_session_timeout       5m;
        ssl_protocols             TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers               ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS;
        ssl_prefer_server_ciphers on;
    
        location / {
          proxy_set_header  X-Real-IP        $remote_addr;
          proxy_set_header  X-Forwarded-For  $proxy_add_x_forwarded_for;
          proxy_set_header  Host             $http_host;
          proxy_set_header  X-Forwarded-Proto https;
          proxy_set_header  Client-Ip        $remote_addr;
          proxy_redirect    off;
          proxy_pass        http://web-servers;
          proxy_connect_timeout 10;
        }
    
        location ~ ^/(assets|images|javascripts|stylesheets|swfs|system)/ {
          expires    max;
          add_header Cache-Control public;
        }
    
        location /connect/ {
            alias C:/Shares/connect-sdk/;
            expires 1d;
        }
      }
    }
    
  3. Point Shares to the new Connect SDK location.
    Edit the file C:\Shares\www\app\views\node\shared\_aspera_web_plugin_install.html.haml.

    Change the following line to one of the two options below:

    - connect_autoinstall_location = '//d3gcli72yxqn2z.cloudfront.net/connect/v4'
    • Option 1:
      - connect_autoinstall_location = "//#{ request.host_with_port }/connect/v4"
    • Option 2:
      - connect_autoinstall_location = '//shares.example.com/connect/v4'
      (Where shares.example.com is the FQDN of the Shares server.)
  4. Restart Shares and Nginx.
    Go to Start Menu > Control Panel > Administrative Tools > Services Restart the following services:
    • Aspera Shares Web services
    • Aspera Shares Nginx
  5. Clear your browser cache.