mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
nginx: Allow adding extra monitoring paths in a localhost.d.
This commit is contained in:
committed by
Tim Abbott
parent
fb461dd34f
commit
023e634e98
@@ -53,6 +53,12 @@ class zulip::app_frontend_base {
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
}
|
||||
file { '/etc/nginx/zulip-include/localhost.d/':
|
||||
ensure => directory,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
}
|
||||
|
||||
$loadbalancers = split(zulipconf('loadbalancer', 'ips', ''), ',')
|
||||
if $loadbalancers != [] {
|
||||
|
@@ -22,6 +22,7 @@ server {
|
||||
}
|
||||
|
||||
include /etc/nginx/zulip-include/certbot;
|
||||
include /etc/nginx/zulip-include/localhost.d/*.conf;
|
||||
}
|
||||
<% end -%>
|
||||
|
||||
|
Reference in New Issue
Block a user