From b305fbba66c9172ff8734080177273a7859c7206 Mon Sep 17 00:00:00 2001 From: NaruZosa Date: Tue, 11 Aug 2026 17:44:20 +1000 Subject: [PATCH] Remove authentication for /api endpoint Removed authentication for the /api endpoint, as this breaks communication via the client application which handles authentication natively, or for the /api/ping endpoint which shouldn't be protected. --- joplin.subdomain.conf.sample | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/joplin.subdomain.conf.sample b/joplin.subdomain.conf.sample index 7269cb02..f60748a3 100644 --- a/joplin.subdomain.conf.sample +++ b/joplin.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2025/07/18 +## Version 2026/08/11 # make sure that your joplin container is named joplin # make sure that your dns has a cname set for joplin @@ -49,6 +49,14 @@ server { set $upstream_port 22300; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; + } + location /api { + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app joplin; + set $upstream_port 22300; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; } }