Fix incorrect definition of multiple URL prefix paths in a traefik rule
This commit is contained in:
parent
2fd17c1319
commit
3628e853d1
@ -50,8 +50,6 @@
|
|||||||
name: collabora
|
name: collabora
|
||||||
image: docker.io/collabora/code:latest
|
image: docker.io/collabora/code:latest
|
||||||
state: present
|
state: present
|
||||||
cap_add:
|
|
||||||
- MKNOD
|
|
||||||
network:
|
network:
|
||||||
- traefik-collabora
|
- traefik-collabora
|
||||||
- nextcloud-collabora
|
- nextcloud-collabora
|
||||||
@ -61,7 +59,7 @@
|
|||||||
io.containers.autoupdate: "registry"
|
io.containers.autoupdate: "registry"
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
traefik.http.routers.collabora.entrypoints: "https"
|
traefik.http.routers.collabora.entrypoints: "https"
|
||||||
traefik.http.routers.collabora.rule: "Host(`{{ vault_domain }}`) && PathPrefix(`/collabora`,`/browser`)"
|
traefik.http.routers.collabora.rule: "Host(`{{ vault_domain }}`) && (PathPrefix(`/collabora`) || Path(`/browser`))"
|
||||||
traefik.http.routers.collabora.tls: "true"
|
traefik.http.routers.collabora.tls: "true"
|
||||||
traefik.http.routers.collabora.tls.certresolver: "wildcard"
|
traefik.http.routers.collabora.tls.certresolver: "wildcard"
|
||||||
traefik.http.routers.collabora.service: "collabora"
|
traefik.http.routers.collabora.service: "collabora"
|
||||||
@ -70,9 +68,10 @@
|
|||||||
env:
|
env:
|
||||||
domain: "chef\\.heaplab\\.deib\\.polimi\\.it"
|
domain: "chef\\.heaplab\\.deib\\.polimi\\.it"
|
||||||
aliasgroup1: "chef\\.heaplab\\.deib\\.polimi\\.it"
|
aliasgroup1: "chef\\.heaplab\\.deib\\.polimi\\.it"
|
||||||
|
server_name: "chef.heaplab.deib.polimi.it"
|
||||||
username: "{{ vault_collabora_user }}"
|
username: "{{ vault_collabora_user }}"
|
||||||
password: "{{ vault_collabora_password }}"
|
password: "{{ vault_collabora_password }}"
|
||||||
extra_params: "--o:ssl.enable=false --o:ssl.termination=true --o:net.service_root=/collabora"
|
extra_params: "--o:ssl.enable=false --o:ssl.termination=true --o:net.service_root=/collabora --o:net.server_name=chef.heaplab.deib.polimi.it/collabora"
|
||||||
generate_systemd:
|
generate_systemd:
|
||||||
path: /home/containers/.config/systemd/user/
|
path: /home/containers/.config/systemd/user/
|
||||||
restart_policy: on-failure
|
restart_policy: on-failure
|
||||||
|
@ -118,7 +118,7 @@
|
|||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
traefik.http.middlewares.traefik-auth.basicauth.users: "{{ vault_traefik_basic_auth }}"
|
traefik.http.middlewares.traefik-auth.basicauth.users: "{{ vault_traefik_basic_auth }}"
|
||||||
traefik.http.routers.traefik.entrypoints: "https"
|
traefik.http.routers.traefik.entrypoints: "https"
|
||||||
traefik.http.routers.traefik.rule: "Host(`{{ vault_domain }}`) && PathPrefix(`/api`,`/dashboard`)"
|
traefik.http.routers.traefik.rule: "Host(`{{ vault_domain }}`) && (PathPrefix(`/api`) || Path(`/dashboard`))"
|
||||||
traefik.http.routers.traefik.middlewares: "traefik-auth@docker"
|
traefik.http.routers.traefik.middlewares: "traefik-auth@docker"
|
||||||
traefik.http.routers.traefik.tls: "true"
|
traefik.http.routers.traefik.tls: "true"
|
||||||
traefik.http.routers.traefik.tls.certresolver: "wildcard"
|
traefik.http.routers.traefik.tls.certresolver: "wildcard"
|
||||||
|
Loading…
Reference in New Issue
Block a user