Replies: 5 comments 5 replies
-
You can use a subdomain for that case. |
Beta Was this translation helpful? Give feedback.
-
That was not the request. I know i can use a subdomain, i explicitly asked for a subpath. |
Beta Was this translation helpful? Give feedback.
-
Well, it does not an Issue specific to wg-easy |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
If someone is using Traefik, this is the way to proceed: labels:
traefik.enable: true
# Web UI
traefik.http.routers.wg-easy.rule: Host(`${WG_DOMAIN:-example.tld}`) && PathPrefix(`${WG_PATH:-/vpn}/`)
traefik.http.routers.wg-easy.entrypoints: https
traefik.http.routers.wg-easy.service: wg-easy
traefik.http.routers.wg-easy.middlewares: wg-easy@docker
traefik.http.services.wg-easy.loadbalancer.server.port: 51821
traefik.http.middlewares.wg-easy.stripprefix.prefixes: "${WG_PATH:-/vpn}"
# WireGuard VPN
traefik.udp.routers.wg-easy.entrypoints: vpn
traefik.udp.routers.wg-easy.service: wg-easy
traefik.udp.services.wg-easy.loadbalancer.server.port: 51820 |
Beta Was this translation helpful? Give feedback.
-
I would like to host the ui iin a subpath like
example.com/wg-easy
.I could not find any option to already do it now.
Beta Was this translation helpful? Give feedback.
All reactions