[GH-ISSUE #181] Putting shiori behind a path via a reverse proxy #133

Closed
opened 2026-02-25 23:33:31 +03:00 by kerem · 3 comments
Owner

Originally created by @a-visible on GitHub (Sep 26, 2019).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/181

I want to put shiori behind a reverse proxy such that I can reach it at https://example.com/path/shiori/, however shiori's frontend does not like this.

I am able to use the shiori Firefox extension and am able to authenticate with the API at the following host URL: https://example.com/path/shiori.

However when I try to visit that URL with a browser, I am redirected to https://example.com/login instead of https://example.com/path/shiori/login.

Is there a way to provide a base URL to shiori?

Originally created by @a-visible on GitHub (Sep 26, 2019). Original GitHub issue: https://github.com/go-shiori/shiori/issues/181 I want to put shiori behind a reverse proxy such that I can reach it at `https://example.com/path/shiori/`, however shiori's frontend does not like this. I am able to use the shiori Firefox extension and am able to authenticate with the API at the following host URL: `https://example.com/path/shiori`. However when I try to visit that URL with a browser, I am redirected to `https://example.com/login` instead of `https://example.com/path/shiori/login`. Is there a way to provide a base URL to shiori?
kerem closed this issue 2026-02-25 23:33:31 +03:00
Author
Owner

@RadhiFadlillah commented on GitHub (Sep 26, 2019):

Hi @rare-energy, this is one of Shiori's oldest issue (#39) that I haven't fixed yet. Fortunately, I'm almost done with it so hopefully it will be fixed in following weeks.

With that said, since this issue is already tracked I will close this one.

<!-- gh-comment-id:535698540 --> @RadhiFadlillah commented on GitHub (Sep 26, 2019): Hi @rare-energy, this is one of Shiori's oldest issue (#39) that I haven't fixed yet. Fortunately, I'm almost done with it so hopefully it will be fixed in following weeks. With that said, since this issue is already tracked I will close this one.
Author
Owner

@a-visible commented on GitHub (Sep 27, 2019):

Ah, must have missed that issue. Glad to see that it will be fixed. Thanks for your work on Shiori!

<!-- gh-comment-id:535772520 --> @a-visible commented on GitHub (Sep 27, 2019): Ah, must have missed that issue. Glad to see that it will be fixed. Thanks for your work on Shiori!
Author
Owner

@rogerBridge commented on GitHub (Jun 4, 2021):

Hello sir,

debian 10 + docker 19.03.12
docker image version: latest, image ID: 69e24681b088

I face the same issue when I set a reverse proxy, I set the url is: https://mydomain.me/shiori/, but when I visit https://mydomain.me/shiri/ , I am be redirect to https://mydomain.me/login?dst=%2F, and this page show nothing, could anybody help me? thanks 🤣

<!-- gh-comment-id:854953837 --> @rogerBridge commented on GitHub (Jun 4, 2021): Hello sir, ```environment debian 10 + docker 19.03.12 docker image version: latest, image ID: 69e24681b088 ``` I face the same issue when I set a reverse proxy, I set the url is: https://mydomain.me/shiori/, but when I visit https://mydomain.me/shiri/ , I am be redirect to https://mydomain.me/login?dst=%2F, and this page show nothing, could anybody help me? thanks 🤣
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#133
No description provided.