🍽 Fork YunoHost — snapshot mangé par la machine à tsoins
Some checks failed
Check for new n releases / updater (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled

Upstream: https://github.com/YunoHost/yunohost @ 3a5f8bac8301c450897b96cbd43a4c7d3ba750fb
But (José) : transformer tout le code en bions + ploxions du xerboxion.
La carte de digestion vit au labo : /yunohost-digest.json
This commit is contained in:
machine-a-tsoins
2026-07-03 17:20:06 +00:00
commit edb4c397df
395 changed files with 105504 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
{% set domain_ip_map = tls_passthrough_list.split(',') %}
stream {
map $ssl_preread_server_name $name {
{% for domain_ip in domain_ip_map %}
{{ domain_ip.split(";")[0] }} {{ domain_ip.split(";")[0].replace('.', '_') }};
{%- endfor %}
default https_default_backend;
}
{%- for domain_ip in domain_ip_map %}
upstream {{ domain_ip.split(";")[0].replace('.', '_') }} {
server {{ domain_ip.split(";")[1] }}:{{ domain_ip.split(";")[2] }};
}
{%- endfor %}
upstream https_default_backend {
server 127.0.0.1:444;
}
server {
listen 443;
listen [::]:443;
proxy_pass $name;
proxy_protocol on;
ssl_preread on;
}
}