Skip to content

Commit

Permalink
feat: expose box path over https using caddy
Browse files Browse the repository at this point in the history
  • Loading branch information
LordTermor committed Apr 27, 2024
1 parent 5ca5ec2 commit e4231df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.caddy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- caddy_data:/data
- persistence_volume: /persistence
restart: unless-stopped
production:
ports: !reset []
Expand All @@ -19,6 +20,9 @@ services:
labels:
caddy: "${CADDY_HOST}"
caddy.reverse_proxy: "{{upstreams 8080}}"
caddy.1_handle_path: "/box/*"
caddy.1_handle_path.root: "* /persistence/box"
caddy.1_handle_path.file_server: "browse"
depends_on:
- caddy

Expand Down

0 comments on commit e4231df

Please sign in to comment.