diff --git a/roles/custom/matrix-livekit-server/defaults/main.yml b/roles/custom/matrix-livekit-server/defaults/main.yml index 2a549df76..5b8edc5c2 100644 --- a/roles/custom/matrix-livekit-server/defaults/main.yml +++ b/roles/custom/matrix-livekit-server/defaults/main.yml @@ -21,7 +21,7 @@ matrix_livekit_server_hostname: "sfu.{{ matrix_domain }}" # Traefik Configuration for Element Call matrix_livekit_server_container_labels_traefik_enabled: true matrix_livekit_server_container_labels_traefik_docker_network: "{{ matrix_livekit_server_container_network }}" -matrix_livekit_server_container_labels_traefik_hostname: "{{ matrix_livekit_server_domain }}" +matrix_livekit_server_container_labels_traefik_hostname: "{{ matrix_livekit_server_hostname }}" # The path prefix must either be `/` or not end with a slash (e.g. `/element`). matrix_livekit_server_container_labels_traefik_path_prefix: "{{ matrix_livekit_server_path_prefix }}" matrix_livekit_server_container_labels_traefik_rule: "Host(`{{ matrix_livekit_server_container_labels_traefik_hostname }}`){% if matrix_livekit_server_container_labels_traefik_path_prefix != '/' %} && PathPrefix(`{{ matrix_livekit_server_container_labels_traefik_path_prefix }}`){% endif %}"