feat: Proxmos and PBS https redirects
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user