Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article describes how to use a custom SSL/TLS port for a HTTPS connection with APIIDA API Gateway Manager

Instructions

...

Connect to your APIIDA API Gateway instance with SSH.

...

This will change links from i.e. https://hostname to https://hostname:8443 allowing API Gateway Manager to run on hosts, that already expose another service at port 443.

Instructions

  1. Add the environment variable "NOSTROMO_PORT" like in the example "docker-compose.yml" belowand set it to the port to use instead .

  2. Change the corresponding local port in the "ports" section to the same value.

Example Docker Compose Setup

docker-compose.yml
Code Block
languagetext
version: '3'
services:
  aagmdb:
    image: apiida/aagmdb
    ports:
        - "3306:3306"
    restart: always
    volumes:
        - aagmdb-vol:/var/lib/mysql
  [...]
  aagm:
    image: apiida/aagm
    ports:
        - "80:80"
        - "8443:443"
    restart: always
    volumes:
        - /opt/aagm:/opt/aagm:rw
    depends_on:
        - aagmdb
    links:
        - aagmdb
    environment:
      - NOSTROMO_PORT=8443
volumes:
  aagmdb-vol:
Info
You can then access your APIIDA API Gateway Manager instance at "https://hostname:port".