mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 12:36:02 -07:00
Merge pull request #715 from jgillman/allow-babybuddy-api-without-auth
This commit is contained in:
commit
0544ae71da
1 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
## Version 2024/07/16
|
||||
## Version 2024/12/29
|
||||
# make sure that your babybuddy container is named babybuddy
|
||||
# make sure that your dns has a cname set for babybuddy
|
||||
|
||||
|
@ -43,4 +43,14 @@ server {
|
|||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
}
|
||||
|
||||
location ~ ^/api/ {
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_app babybuddy;
|
||||
set $upstream_port 8000;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue