Merge pull request #715 from jgillman/allow-babybuddy-api-without-auth

This commit is contained in:
Roxedus 2025-01-01 22:42:05 +01:00 committed by GitHub
commit 0544ae71da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 babybuddy container is named babybuddy
# make sure that your dns has a cname set for 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; 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;
}
} }