Skip to content

Commit 97ea796

Browse files
committed
Allow access to Baby Buddy API without auth
1 parent 82ce91d commit 97ea796

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

babybuddy.subdomain.conf.sample

+10
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,14 @@ server {
4343
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
4444

4545
}
46+
47+
location ~ ^/api/ {
48+
include /config/nginx/proxy.conf;
49+
include /config/nginx/resolver.conf;
50+
set $upstream_app babybuddy;
51+
set $upstream_port 8000;
52+
set $upstream_proto http;
53+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
54+
55+
}
4656
}

0 commit comments

Comments
 (0)