35 lines
758 B
Django/Jinja
35 lines
758 B
Django/Jinja
# code: language=ansible-jinja
|
|
{
|
|
admin off
|
|
}
|
|
{% for env in ['production', 'staging'] %}
|
|
|
|
# Environment: {{ env }}
|
|
|
|
{{ proxy_vars[env].app02.apps_vars.ipfs.domain }} {
|
|
tls {{ tls_email }} {
|
|
dns njalla {{ njalla_api_token }}
|
|
}
|
|
|
|
header {
|
|
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
|
-Server
|
|
}
|
|
|
|
reverse_proxy {{ proxy_vars[env].app02.internal_ipv4 }}:8080
|
|
}
|
|
|
|
{{ proxy_vars[env].app02.apps_vars.monerod.domain }} {
|
|
tls {{ tls_email }} {
|
|
dns njalla {{ njalla_api_token }}
|
|
}
|
|
|
|
header {
|
|
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
|
-Server
|
|
}
|
|
|
|
reverse_proxy {{ proxy_vars[env].app02.internal_ipv4 }}:8080
|
|
}
|
|
{% endfor %}
|