From c51bac41b045e472d2f893448349a07af56d316f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Thu, 20 Feb 2025 13:02:51 +0100 Subject: [PATCH] ntfy: fix caddy labels --- docker-compose.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2f340bc..5264b2d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -123,15 +123,12 @@ services: public: ipv4_address: 192.168.240.5 labels: - caddy: "notify.${DOMAIN} http://notify.${DOMAIN}" + caddy: "notify.${DOMAIN}, http://notify.${DOMAIN}" caddy.reverse_proxy: "{{ upstreams $NTFY_INTERNAL_PORT }}" - caddy.reverse_proxy.header_up_0: "{http.request.header.Upgrade}" - caddy.reverse_proxy.header_up_1: "Connection \"upgrade\"" - caddy.redir: "https://{host}{uri}" - caddy.redir.protocol: http - caddy.redir.method: get - caddy.redir.path_regexp: "^/([-_a-z0-9]{0,64}$|docs/|static/)" - + caddy.@httpget.protocol: http + caddy.@httpget.method: get + caddy.@httpget.path_regexp: "^/([-_a-z0-9]{0,64}$|docs/|static/)" + caddy.redir: "@httpget https://{host}{uri}" restart: unless-stopped audiobookshelf: