Created
August 14, 2019 04:43
-
-
Save lgvital/7eec445b48bbcca1a2375c03a5dc0c00 to your computer and use it in GitHub Desktop.
traefik.toml - django http only
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logLevel = "INFO" | |
defaultEntryPoints = ["http"] | |
# Entrypoints, http and https | |
[entryPoints] | |
[entryPoints.http] | |
address = ":80" | |
[file] | |
[backends] | |
[backends.django] | |
[backends.django.servers.server1] | |
url = "http://django:5000" | |
[frontends] | |
[frontends.django] | |
backend = "django" | |
passHostHeader = true | |
[frontends.django.headers] | |
HostsProxyHeaders = ['X-CSRFToken'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment