Skip to content

Non bare-metal setup with existing proxy and ports 80/443/9000 already taken #2

@arminus

Description

@arminus

I'd like to test this, but I need to install it on a box where ports 80, 443 and 9000 are already used by something else. 80 and 443 by nginx proxy manager (I assume 80 and 443 are typically "already taken" on most servers...)

So, I've modified Caddyfile like so:

http://my.domain.com:85 {
	reverse_proxy filesync:80
}

http://my.domain.com:9900 {
	reverse_proxy peerjs:9000
}

and compose like so:

services:
  caddy:
    image: caddy
    container_name: filesync-caddy
    ports:
      - "85:80"
      - "9900:9000"
    volumes:
      - ./Caddyfile:/etc/caddy/Caddyfile:ro
      - filesync:/data
    restart: unless-stopped
...

But http://my.domain.com:85 times out, event though I see docker listening on :85 - what am I missing?

Eventually and for production I would need to put this behind an existing nginx proxymanager...

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions