Set SSL Certificate and Key for Nginx for the Ansible Installation

JFrog Installation & Setup Documentation

Content Type
Installation & Setup

Set artifactory_nginx_ssl_enabled as true in roles/artifactory/defaults/main.yml inside the Ansible Platform Collection. This enables Artifactory to use the artifactory_nginx_ssl role.

Configure the following role variables in the artifactory_nginx_ssl role.

  • server_name: The server name. For example,

  • certificate: The SSL certificate

  • certificate_key: The SSL private key.

  • nginx_worker_processes: The worker_processes configuration for Nginx. Default is 1.

  • artifactory_docker_registry_subdomain: Whether to add a redirect directive to the Nginx configuration for the use of docker subdomains.