Restore dynamic fedmsg endpoints experiment.
Revert "Hold off on that.."
This reverts commit 9f5fd276e2
.
This commit is contained in:
parent
cf5884a2fd
commit
c680e56767
8 changed files with 46 additions and 26 deletions
|
@ -40,6 +40,13 @@
|
|||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
# if the host declares a fedmsg-enabled wsgi app, open ports for it
|
||||
{% if fedmsg_wsgi_service is defined %}
|
||||
{% for i in range(wsgi_procs * wsgi_threads) %}
|
||||
-A INPUT -p tcp -m tcp --dport 30{{ '%02d' % i }} -j ACCEPT
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
# if the host/group defines incoming tcp_ports - allow them
|
||||
{% if tcp_ports is defined %}
|
||||
{% for port in tcp_ports %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue