-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
State: TriageIssues that need to be verifiedIssues that need to be verified
Description
Description
I access trilium from admin.example.com. On my main page I have:
~shareCss(inheritable)=csspage ~shareHtml(inheritable)=htmlinjected
I have a reverse proxy to /share/ and added an exception for /api/
RewriteCond %{REQUEST_URI} ^/api/ [NC]
RewriteRule ^/(.*)$ http://localhost:8082/$1 [P,L]
RewriteCond %{REQUEST_URI} !^/api/ [NC]
RewriteRule ^/(.*)$ http://localhost:8082/share/$1 [P,L]
ProxyPassReverse / http://localhost:8082/
ProxyPassReverseCookiePath /share/ /
when visiting the site "test.example.com" (which uses the above apache config) I am getting errors:
GET http://test.example.com/api/notes/l0lI2wfNV8Gi/download net::ERR_ABORTED 401 (Unauthorized)
which is expected but I thought including via those attributes would use the /shared/ location to mitigate needing logon access?!
TriliumNext Version
0.102.1
What operating system are you using?
Other Linux
What is your setup?
Server access only
Operating System Version
Win 10 & Debian
Error logs
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
State: TriageIssues that need to be verifiedIssues that need to be verified