feat: Proxmos and PBS https redirects

This commit is contained in:
Lino Silva
2026-04-01 23:55:13 +01:00
parent a704133a0b
commit dee09aeb2c
2 changed files with 11 additions and 2 deletions
@@ -19,6 +19,10 @@ http:
scheme: https
permanent: true
serversTransports:
ignore-tls:
insecureSkipVerify: true
routers:
# Static services - HTTPS
traefik-secure:
@@ -179,6 +183,9 @@ http:
{{ service_name }}:
loadBalancer:
passHostHeader: true
{% if config.https | default(false) %}
serversTransport: ignore-tls@file
{% endif %}
servers:
- url: "http://{{ config.host }}:{{ config.port }}"
- url: "{{ 'https' if config.https | default(false) else 'http' }}://{{ config.host }}:{{ config.port }}"
{% endfor %}