-
Describe featureAdd support for disabling remote access when sitting behind a reverse proxy, and add TRILIUM_SUBPATH field to config to change URL path Additional InformationTrilium user here who runs the server it behind a reverse proxy so I can access my note remotely. I run other apps on this machine so I'd like to run out of a sub-path, /trilium/ and for all links to be shifted. To better support reverse proxies, I have 2 feature requests:
If these both look good in principle I'm happy to take a stab at implementation, but don't want to throw time at something that isn't acceptable to the maintainers. Thanks for all your hard work! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Trilium already works behind a reverse proxy with a different path. I didn't check the Apache documentation, but the nginx reverse proxy documentation explains how to do this: https://github.com/TriliumNext/Trilium/tree/main/docs/User%20Guide/User%20Guide/Installation%20%26%20Setup/Server%20Installation/2.%20Reverse%20proxy |
Beta Was this translation helpful? Give feedback.
-
Btw, I already run my Trilum instance at https://www.example.com/notes and it works without any issues. |
Beta Was this translation helpful? Give feedback.
-
Oh you're right. It's not in the apache2 documentation and I didn't think to check the nginx docs, whoops. Closing since this is already resolved.. |
Beta Was this translation helpful? Give feedback.
Trilium already works behind a reverse proxy with a different path. I didn't check the Apache documentation, but the nginx reverse proxy documentation explains how to do this: https://github.com/TriliumNext/Trilium/tree/main/docs/User%20Guide/User%20Guide/Installation%20%26%20Setup/Server%20Installation/2.%20Reverse%20proxy