Skip to content

Commit b8f4c3f

Browse files
author
Till Brehm
committed
Fixed #4656 SSL is not enabled in Nginx configuration for (sub)domains with alias domain
1 parent 059c08d commit b8f4c3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/conf/nginx_vhost.conf.master

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ server {
298298
<tmpl_if name='ipv6_enabled'>
299299
listen [<tmpl_var name='ipv6_address'>]:443 ssl;
300300
</tmpl_if>
301-
ssl_certificate <tmpl_var name='document_root'>/ssl/<tmpl_var name='ssl_domain'>.crt;
302-
ssl_certificate_key <tmpl_var name='document_root'>/ssl/<tmpl_var name='ssl_domain'>.key;
301+
ssl_certificate <tmpl_var name='ssl_crt_file'>;
302+
ssl_certificate_key <tmpl_var name='ssl_key_file'>;
303303
</tmpl_if>
304304

305305
server_name <tmpl_var name='rewrite_domain'>;

0 commit comments

Comments
 (0)