I love the idea that one simply put a md file in a library and Seafile auto-magically publish that as a “Wiki” on the internet.
However the path is always something like https://myserver.com/published/MyWikiLibrary/
. Is it possible to have the wiki at the root so that https://myserver.com
goes directly to the wiki and https://files.myserver.com
goes to traditional Seafile root?
I have this nginx conf which kind of work:
server {
listen 80;
listen 443 http2;
listen [::]:443 http2;
server_name myserver.com;
rewrite ^ https://files.myserver.com/published/MyWikiLibrary$request_uri? permanent;
}
…but it displays the entire path in the user’s browser’s address bar. Ideally I would have liked to have a “clean” path so that https://myserver.com
displays the “home” page of the “wiki” not the Seafile login screen.