From c676fc4d9d6af66f95e49f3f9e14d5ce6560f86d Mon Sep 17 00:00:00 2001 From: hrabbach Date: Tue, 25 Feb 2025 16:24:04 +0100 Subject: [PATCH] add configuration info for custom ports in NGINX Proxy Manager --- readme.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/readme.md b/readme.md index 3eb4cef7..45669467 100644 --- a/readme.md +++ b/readme.md @@ -93,6 +93,13 @@ Toggle websockets support. NGINX Web socket +For OIDC and RSS feeds to work if your external access URL contains a custom port (like https://xx.yy.zz:1234/audiobookshelf/), the Host header sent by NGINX Proxy Manager is incorrect, as it doesn't include the port number. This can be fixed by adding a custom location of "/" and then opening the advanced configuration field by clicking the cogwheel. Add this additional header line here: + +proxy_set_header Host $http_host; + +![image](https://github.com/user-attachments/assets/da85d0a7-b187-4114-bada-475e627a4960) + + ### NGINX Reverse Proxy Add this to the site config file on your nginx server after you have changed the relevant parts in the <> brackets, and inserted your certificate paths.