mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 12:36:02 -07:00
Allow access to Baby Buddy API without auth
This commit is contained in:
parent
82ce91db2d
commit
97ea7961a4
1 changed files with 10 additions and 0 deletions
|
@ -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