mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-07 09:51:37 +00:00
Describe nginx proxy manager fix needing to re-login often
See #4630 and https://github.com/advplyr/audiobookshelf/issues/4630#issuecomment-3842888850
This commit is contained in:
parent
fa5fa7b788
commit
970140bfec
1 changed files with 16 additions and 0 deletions
16
readme.md
16
readme.md
|
|
@ -93,6 +93,22 @@ Toggle websockets support.
|
|||
|
||||
<img alt="NGINX Web socket" src="https://user-images.githubusercontent.com/67830747/153679106-b2a7f5b9-0702-48c6-9740-b26b401986e9.png" />
|
||||
|
||||
Add this Custom Nginx Configuration (under "Edit Proxy Host" > settings cog):
|
||||
```nginx
|
||||
proxy_connect_timeout 86400s;
|
||||
proxy_send_timeout 86400s;
|
||||
proxy_read_timeout 86400s;
|
||||
send_timeout 86400s;
|
||||
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $host;
|
||||
```
|
||||
|
||||
### 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue