Skip to content

ActionCable websockets not working #522

Closed Answered by nerdinand
nerdinand asked this question in Q&A
Discussion options

You must be logged in to vote

I got it to work using the following configuration. Note that I'm also using traefik to terminate HTTPS (with let's encrypt), so your mileage may vary.

# deploy.yml

# ...

# Deploy to these servers.
servers:
  web:
    hosts:
      - 192.0.2.0
    labels:
      traefik.http.routers.kiqr_cloud_secure.entrypoints: websecure
      traefik.http.routers.kiqr_cloud_secure.rule: Host(`example.com`)
      traefik.http.routers.kiqr_cloud_secure.tls: true
      traefik.http.routers.kiqr_cloud_secure.tls.certresolver: letsencrypt

# Credentials for your image host.
registry:
  # Specify the registry server, if you're not using Docker Hub
  server: containers.example.com
  username: nerdinand
  pass…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nerdinand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants