Hello :wave: , I am trying to deploy a ktor server...
# ktor
d
Hello 👋 , I am trying to deploy a ktor server with only https enabled, can you give me advice on how set this up? I tried following the guide on ktor.io/docs (docker), but was unable to make it work. I get the following error, when I try to connect to https://example.com:80/
Copy code
app_1  | 2021-05-30 01:29:24.254 [eventLoopGroupProxy-4-1] TRACE Application - Failed to decode request
app_1  | java.lang.IllegalArgumentException: text is empty (possibly HTTP/0.9)
I have the following docker-compose file
Copy code
version: "3.9"
services:
  ...
  app:
    build: .
    expose:
      - 8080
    environment:
      - VIRTUAL_HOST=<http://debug.scase.io|debug.scase.io>
      - VIRTUAL_PORT=8080
      - VIRTUAL_PROTO=https
      - LETSENCRYPT_HOST=<http://debug.scase.io|debug.scase.io>
      - LETSENCRYPT_EMAIL=denis.capkovic@scase.io
    networks:
      - backend
      - reverse-proxy
    restart: always
    depends_on:
      - db

networks:
  backend:
  reverse-proxy:
    external:
      name: reverse-proxy