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.
- Open the file "docker-compose.yml" in /opt/aagm
- Add the environment variable "NOSTROMO_PORT" like in the example "docker-compose.yml" below.
- Change the corresponding port in the "ports" section to the same value.
docker-compose.yml
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:
You can call your APIIDA API Gateway Manager instance afterwards in your browser with "https://hostname:port"