1
0

ntfy: fix caddy labels

This commit is contained in:
Lukáš Kucharczyk 2025-02-20 13:02:51 +01:00
parent 387d6e89a5
commit c51bac41b0

View File

@ -123,15 +123,12 @@ services:
public: public:
ipv4_address: 192.168.240.5 ipv4_address: 192.168.240.5
labels: labels:
caddy: "notify.${DOMAIN} http://notify.${DOMAIN}" caddy: "notify.${DOMAIN}, http://notify.${DOMAIN}"
caddy.reverse_proxy: "{{ upstreams $NTFY_INTERNAL_PORT }}" caddy.reverse_proxy: "{{ upstreams $NTFY_INTERNAL_PORT }}"
caddy.reverse_proxy.header_up_0: "{http.request.header.Upgrade}" caddy.@httpget.protocol: http
caddy.reverse_proxy.header_up_1: "Connection \"upgrade\"" caddy.@httpget.method: get
caddy.redir: "https://{host}{uri}" caddy.@httpget.path_regexp: "^/([-_a-z0-9]{0,64}$|docs/|static/)"
caddy.redir.protocol: http caddy.redir: "@httpget https://{host}{uri}"
caddy.redir.method: get
caddy.redir.path_regexp: "^/([-_a-z0-9]{0,64}$|docs/|static/)"
restart: unless-stopped restart: unless-stopped
audiobookshelf: audiobookshelf: