ansible/roles/nginx/templates/nginx/modules-available/60-forward.conf.j2
Yohann D'ANELLO ae151321db
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
[nginx/certbot] Clone roles from Crans
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-02-24 11:46:37 +01:00

15 lines
285 B
Django/Jinja

{{ ansible_managed | comment }}
{% for site in reverseproxy.redirect_tcp %}
# Forward port {{ site.port }} to {{ site.name }}
stream {
server {
listen {{ site.port }};
listen [::]:{{ site.port }};
proxy_pass {{ site.destination }};
}
}
{% endfor %}