Reverse Proxy - Subdirectory #155

Closed
opened 2026-04-24 22:59:37 +02:00 by adam · 5 comments
Owner

Originally created by @mediacowboy on GitHub (Dec 30, 2021).

While I have this working with the SWAG example configuration. I am wondering if it is possible to all the app to have a base_url so that it can be used with a subdirectory?

Ex.
Instead of https://audiobookshelf.abc.xyz it could be https://abc.xyz/bookshelf

Originally created by @mediacowboy on GitHub (Dec 30, 2021). While I have this working with the SWAG example configuration. I am wondering if it is possible to all the app to have a base_url so that it can be used with a subdirectory? Ex. Instead of https://audiobookshelf.abc.xyz it could be https://abc.xyz/bookshelf
adam added the enhancement label 2026-04-24 22:59:37 +02:00
adam closed this issue 2026-04-24 22:59:37 +02:00
Author
Owner

@advplyr commented on GitHub (Jan 1, 2022):

It is not supported. If this was added to the server it would break all the links used in the mobile app.
Is this something you do for other servers? I would be curious to how they handle that.

@advplyr commented on GitHub (Jan 1, 2022): It is not supported. If this was added to the server it would break all the links used in the mobile app. Is this something you do for other servers? I would be curious to how they handle that.
Author
Owner

@mediacowboy commented on GitHub (Jan 1, 2022):

It is not supported. If this was added to the server it would break all the links used in the mobile app.
Is this something you do for other servers? I would be curious to how they handle that.

Understandable and this doesn't need to be implemented right away.

Yes I use sub directories with all most of my services. The *arrs, deluge, etc.

@mediacowboy commented on GitHub (Jan 1, 2022): > It is not supported. If this was added to the server it would break all the links used in the mobile app. > Is this something you do for other servers? I would be curious to how they handle that. Understandable and this doesn't need to be implemented right away. Yes I use sub directories with all most of my services. The *arrs, deluge, etc.
Author
Owner

@mx03 commented on GitHub (Jan 4, 2022):

Should work with nginx proxy pass, it automatically rewrite the url. Only problem could be the web socket.

@mx03 commented on GitHub (Jan 4, 2022): Should work with nginx proxy pass, it automatically rewrite the url. Only problem could be the web socket.
Author
Owner

@mediacowboy commented on GitHub (Jan 4, 2022):

Should work with nginx proxy pass, it automatically rewrite the url. Only problem could be the web socket.

I believe this to be the case. As I can navigate there via abc.xyz/audiobookshelf but I get just a spinning circle. When I look at the development console of Chrome I see it is unable to reach /__nuxt/randomnamem.js.

I should note I was able to modify my nginx config to be able to navigate to those files direct but it still only spins.

@mediacowboy commented on GitHub (Jan 4, 2022): > Should work with nginx proxy pass, it automatically rewrite the url. Only problem could be the web socket. I believe this to be the case. As I can navigate there via abc.xyz/audiobookshelf but I get just a spinning circle. When I look at the development console of Chrome I see it is unable to reach /__nuxt/randomnamem.js. I should note I was able to modify my nginx config to be able to navigate to those files direct but it still only spins.
Author
Owner

@advplyr commented on GitHub (Apr 24, 2022):

Consolidating subdirectory issues to #385

@advplyr commented on GitHub (Apr 24, 2022): Consolidating subdirectory issues to #385
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#155