# Copyright (c) Abstract Machines
# SPDX-License-Identifier: Apache-2.0

# These paths are set to its default values as
# a volume in the docker/docker-compose.yaml file.
ssl_certificate /etc/ssl/certs/magistrala-server.crt;
ssl_certificate_key /etc/ssl/private/magistrala-server.key;
ssl_dhparam /etc/ssl/certs/dhparam.pem;

ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
ssl_ecdh_curve secp384r1;
ssl_session_tickets off;
resolver 8.8.8.8 8.8.4.4 valid=300s;
resolver_timeout 5s;
