mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-02-05 03:13:27 +08:00
Allow access to Baby Buddy API without auth
This commit is contained in:
parent
82ce91db2d
commit
97ea7961a4
@ -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…
x
Reference in New Issue
Block a user