Skip to content

dancheskus/traefik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic traefik container setup

This setup allows you to run traefik container with corresponding settings

  • ACME challenge will try to receive wildcard certificates for url's that other containers requested
  • All http:// requests will be redirected to https://
  • All https://www.example.com requests will be redirected to https://example.com
  • Only registred in traefik url's will be accessible. wrong.example.com will not be accessible (no traefik's 404 page). correct.example.com will be accessible.

Setup

  • Change .env_example filename to .env
  • Replace first line of .env with your DNS provider (you should change key and add value)
  • Replace key and value in environment section in docker-compose.yml with key name from .env

Running container

docker-compose up -d


Read about react connected to traefik setup

About

Basic traefik setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published