From af6610d590ad2ed29ad797247dc911a79d4a453c Mon Sep 17 00:00:00 2001 From: aptalca <541623+aptalca@users.noreply.github.com> Date: Fri, 8 Mar 2024 17:37:20 -0500 Subject: [PATCH] add support for Nextcloud notify push mod --- nextcloud.subdomain.conf.sample | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nextcloud.subdomain.conf.sample b/nextcloud.subdomain.conf.sample index 5fb72f8..6b82c68 100644 --- a/nextcloud.subdomain.conf.sample +++ b/nextcloud.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2023/06/24 +## Version 2024/03/09 # make sure that your nextcloud container is named nextcloud # make sure that your dns has a cname set for nextcloud # assuming this container is called "swag", edit your nextcloud container's config @@ -13,6 +13,9 @@ # 0 => '192.168.0.1:444', # This line may look different on your setup, don't modify it. # 1 => 'nextcloud.example.com', # ), +# +# The /push/ location block works with the optional notify-push mod: +# https://github.com/linuxserver/docker-mods/tree/nextcloud-notify-push server { listen 443 ssl http2; @@ -42,4 +45,11 @@ server { # Disable proxy buffering proxy_buffering off; } + + location ^~ /push/ { + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + proxy_pass http://127.0.0.1:7867/; + } + }