mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-08 05:51:06 -07:00
add support for Nextcloud notify push mod
This commit is contained in:
parent
6b2e31a42b
commit
af6610d590
1 changed files with 11 additions and 1 deletions
|
@ -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/;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue