add support for Nextcloud notify push mod

This commit is contained in:
aptalca 2024-03-08 17:37:20 -05:00
parent 6b2e31a42b
commit af6610d590

View file

@ -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 nextcloud container is named nextcloud
# make sure that your dns has a cname set for nextcloud # make sure that your dns has a cname set for nextcloud
# assuming this container is called "swag", edit your nextcloud container's config # 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. # 0 => '192.168.0.1:444', # This line may look different on your setup, don't modify it.
# 1 => 'nextcloud.example.com', # 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 { server {
listen 443 ssl http2; listen 443 ssl http2;
@ -42,4 +45,11 @@ server {
# Disable proxy buffering # Disable proxy buffering
proxy_buffering off; proxy_buffering off;
} }
location ^~ /push/ {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
proxy_pass http://127.0.0.1:7867/;
}
} }