[Bug]: Correct way to configure caddy #2383

Closed
opened 2026-04-25 00:06:39 +02:00 by adam · 1 comment
Owner

Originally created by @sidcha on GitHub (Nov 28, 2024).

What happened?

Based on the docs, I have the following in my Caddyfile

*.example.com {
        [...]

        @subdomain host subdomain.example.com
        reverse_proxy @subdomain 192.168.1.103:13378

        [...]
}

What did you expect to happen?

To be able to reach audiobookshefl running in 192.168.1.103:13378 by going to https://subdomain.example.com.

Steps to reproduce the issue

  1. Setup audiobookshelf using docker.
  2. Configure Caddy as above
  3. https://subdomain.example.com does not work

Audiobookshelf version

v2.17.2

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs

No response

Additional Notes

No response

Originally created by @sidcha on GitHub (Nov 28, 2024). ### What happened? Based on the docs, I have the following in my Caddyfile ``` *.example.com { [...] @subdomain host subdomain.example.com reverse_proxy @subdomain 192.168.1.103:13378 [...] } ``` ### What did you expect to happen? To be able to reach audiobookshefl running in 192.168.1.103:13378 by going to https://subdomain.example.com. ### Steps to reproduce the issue 1. Setup audiobookshelf using docker. 2. Configure Caddy as above 3. https://subdomain.example.com does not work ### Audiobookshelf version v2.17.2 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs _No response_ ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:06:39 +02:00
adam closed this issue 2026-04-25 00:06:40 +02:00
Author
Owner

@sidcha commented on GitHub (Nov 28, 2024):

Nvm, the problem was caused by an unrelated issue. The config as posted above works fine.

@sidcha commented on GitHub (Nov 28, 2024): Nvm, the problem was caused by an unrelated issue. The config as posted above works fine.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2383