Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 455 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 455 Bytes

SSL Traefik

Default environment for setting up SSL protocol

To attach a container to the proxy, put in the applications's docker-compose.yml

services:
  backend:
    labels:
      - "traefik.backend=backend_name"
      - "traefik.frontend.rule=Host:domain.com"
    networks:
      - webgateway

networks:
  webgateway:
    external: true

Network webgateway has to be previously created:

docker network create webgateway