Place1/wg-access-server

WG_EXTERNAL_HOST without http(https)

alexlii1971 opened this issue · 1 comments

Hello,

I checked the configuration document at https://place1.github.io/wg-access-server/2-configuration/

WG_EXTERNAL_HOST | --external-host | externalHost |   |   | The external domain for the server (e.g. https://www.mydomain.com)

and I found wireguard client will complain if there is http(https):

Unknown

so in Docker-Compose file, WG_EXTERNAL_HOST without http(https):

    environment:
      - "WG_ADMIN_USERNAME=admin"
      - "WG_ADMIN_PASSWORD=123456"
      - "WG_WIREGUARD_PRIVATE_KEY=YK5W6miyhg7JhHny6p8X4Oi2KbaC5dIkg="
      - "WG_DNS_ENABLED=true"
      **- "WG_EXTERNAL_HOST=mydomain.com"**
    ports:
      - "8000:8000/tcp"
      - "51820:51820/udp"

@alexlii1971 are you interested in learning to fix the docs your self? if not I can do it. but it is better for you if you learn and I'm willing to show you.