Files @ 67dd87d59abb
Branch filter:

Location: majic-ansible-roles/roles/mail_forwarder/templates/ferm_mail.conf.j2

branko
MAR-83: Added support to wsgi_website role for specifying headers that should be passed on to Gunicorn by Nginx. Updated hello.wsgi app to demonstrate the feature.
{% if smtp_relay_host %}
# Accept incoming connections on port 25 from SMTP relay host.
table filter {
    chain INPUT {
        # SMTP for server communication.
        proto tcp dport 25 {
            saddr {{ smtp_relay_host }} ACCEPT;
        }
    }
}
{% endif %}