Set SSL Certificate and Key for Nginx for the Ansible Installation

JFrog Installation & Setup Documentation

Content Type
Installation & Setup
ft:sourceType
Paligo

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, artifactory.54.105.51.178.xip.io.

  • 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.