We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b25114f commit 6d7eca6Copy full SHA for 6d7eca6
Ansible/ansible_collections/jfrog/platform/roles/artifactory_nginx_ssl/templates/artifactory.conf.j2
@@ -18,7 +18,11 @@
18
## server configuration
19
server {
20
listen 443 ssl http2;
21
+ {% if artifactory_docker_registry_subdomain %}
22
+ server_name ~(?<repo>.+)\.{{ server_name }};
23
+ {% else %}
24
server_name {{ server_name }};
25
+ {% endif %}
26
if ($http_x_forwarded_proto = '') {
27
set $http_x_forwarded_proto $scheme;
28
}
@@ -47,4 +51,4 @@
47
51
proxy_pass http://artifactory-direct;
48
52
49
53
50
-}
54
+}
0 commit comments