Page tree
Skip to end of metadata
Go to start of metadata

Edit nginx.conf

CAST Imaging front end runs by default on port 80 in ≤ 2.0.0-beta5 or port 8083 (or the first free port available after 8083) in ≥ 2.0.0-beta6. To reconfigure the service to run over a secure connection (for example port 443), edit the following file:

Microsoft Windows traditional installer:
%APPDATA%\CAST\ImagingSystem\nginx\conf\nginx.conf
    
Docker Installer extension (located in the folder created when unzipping the extension):
server\nginx\conf\nginx.conf

Microsoft Windows via traditional installer

This file is located in the protected %APPDATA% location, therefore you must open the file with elevated permission (this is usually achieved by right clicking your text editor in the Windows start menu and selecting Run as administrator):

Linux

You may need to use elevated permissions to edit this file (for example use sudo).

Locate the "server {" block:

server {

	# Running port
	listen 8083;

Add/modify as follows - using settings to suit your environment:

server {

	# Running port
    listen              443 ssl;
    server_name         imaging.company.com;
    ssl_certificate     path/to/file.crt;
    ssl_certificate_key path/to/file.key;
    ssl_protocols       TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers         HIGH:!aNULL:!MD5;
    ...

Save the file and ensure that you restart the CAST Imaging System - imaging-fe Windows service or the nginx Docker container in order for the new configuration to be taken into account. 

You can find out more information here: http://nginx.org/en/docs/http/configuring_https_servers.html.

Edit imagingetl.bat or etl/app.config - 2.8.0-funcrel only

This step is required in CAST Imaging 2.8.0-funcrel only (not required in subsequent or previous releases). Please read below and ensure you perform any required actions.

Edit the following file:

Microsoft Windows traditional installer:
%APPDATA%\CAST\ImagingSystem\imagingservice\imagingetl.bat
    
Docker Installer extension (located in the folder created when unzipping the extension):
etl/app.config

In this file, locate the following line:

Microsoft Windows traditional installer:
-HTTP_ENDPOINT="http://localhost:8083/imaging"

Docker Installer extension (located in the folder created when unzipping the extension):
"HTTP_ENDPOINT": "http://localhost:8083/imaging"

Change the URL (https/port) to match the changes you have made in the nginx.conf file. Save the file and ensure that you restart the CAST Imaging System - imaging-ETL Windows service or the etl Docker container in order for the new configuration to be taken into account.

  • No labels