-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: NGINX - Cannot GET / #828
Comments
Try changing
To
|
If you open the console, my guess is that’s there a lot of 404 errors to yoursomain.tld/audiobookshelf/…stuff… It is possible though to get working, and my guess is that you need a subfilter as well. Not in front of my computer at the moment, or I’d test myself, but hopefully the following is close.
|
Thanks @Lanjelin, appreciate your help. I'm not familiar with the sub_filter, I put your example (changing domain) inside the current location block but no change, still the loading circle. |
I'm sorry, I had it backwards, subfolder to subdomain. As per the Reverse Proxy Setup, it needs to be hosted directly at the root of the domain or a subdomain
|
Ah gotcha, I don't think I'll be able to do that in this instance as I'm using ddns for the domain name (not one I own) thus can't do subdomains. |
Is there a way to set the 'base' in AudioBookShelf? - by that I mean in this case what would be /audiobookshelf/ for myself. Every other app I host has this setting, seems like its missing here. |
Subfolders are not supported yet so you will need to use a subdomain for your reverse proxy. There is a ticket open for subfolder support #385 and it will get implemented at some point but it's not a quick update unfortunately. |
Describe the issue
Hi There,
I'm unable to access the webpage via NGINX. I'm able to access it locally via IP:PORT
This is my NGINX config relating to this:
Included my various SSL/security bits above for the case they're related. I use NGINX currently for a whole host of other services which are all working fine.
When browsing to https://FQDN/audiobookshelf I simply get:
"Cannot GET /audiobookshelf"
Inside the access.log I see:
"GET /audiobookshelf HTTP/2.0" 404 153 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
Debug logs from AudioBookShelf are unremarkable:
=== Starting Server ===
2022-07-11 11:15:46
INFO
[Server] Init v2.0.23
2022-07-11 11:15:46
INFO
[DB] 0 Library Items Loaded
2022-07-11 11:15:46
INFO
[DB] 0 Libraries Loaded
2022-07-11 11:15:46
INFO
[DB] 0 Collections Loaded
2022-07-11 11:15:46
INFO
[DB] 0 Authors Loaded
2022-07-11 11:15:46
INFO
[DB] 0 Series Loaded
2022-07-11 11:15:46
INFO
[DB] 1 Users Loaded
2022-07-11 11:15:46
INFO
[BackupManager] 0 Backups Found
2022-07-11 11:15:46
INFO
[BackupManager] Auto Backups are disabled
2022-07-11 11:15:46
INFO
[LogManager] Init current daily log filename: 2022-07-11.txt
2022-07-11 11:15:46
INFO
Listening on http://0.0.0.0:7331
2022-07-11 11:45:29
INFO
[Server] Socket Connected REDACTED-UNSURE-IF-UNIQUE
Steps to reproduce the issue
Audiobookshelf version
v2.0.23
How are you running audiobookshelf?
Built from source
The text was updated successfully, but these errors were encountered: