mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
smokescreen: Default to only listening on 127.0.0.1.
This prevents Smokescreen from acting as an open proxy. Fixes #19214.
This commit is contained in:
@@ -42,6 +42,7 @@ class zulip::profile::smokescreen {
|
||||
notify => Service[supervisor],
|
||||
}
|
||||
|
||||
$listen_address = zulipconf('http_proxy', 'listen_address', '127.0.0.1')
|
||||
file { '/etc/supervisor/conf.d/zulip/smokescreen.conf':
|
||||
ensure => file,
|
||||
require => [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[program:smokescreen]
|
||||
command=/usr/local/bin/smokescreen-<%= @version %>
|
||||
command=/usr/local/bin/smokescreen-<%= @version %> --listen-ip <%= @listen_address %>
|
||||
priority=15
|
||||
autostart=true
|
||||
autorestart=true
|
||||
|
||||
Reference in New Issue
Block a user