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: