feat: kubernetes ingress/alt http port support

This commit is contained in:
Kathrin Maurer
2025-02-28 16:15:51 +01:00
parent 73106f6d57
commit 9634f35a1e
3 changed files with 9 additions and 3 deletions

View File

@@ -74,7 +74,11 @@ server{
{% else %}
location / {
{{ proxy_pass_blob }}
{% if http_target_port %}
proxy_pass http://{{ targetip }}:{{ http_target_port }};
{% else %}
proxy_pass http://{{ targetip }}:80;
{% endif %}
}
{% endif %}