Last active
June 14, 2019 14:23
-
-
Save sebbrandt87/265753b2ed61157d07a5a9a65771b13f to your computer and use it in GitHub Desktop.
Caddyfile
This file contains 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
:8080 { | |
status 200 / | |
} | |
:8000 { | |
prometheus 0.0.0.0:9180 | |
realip { | |
from 44.128.0.0/20 | |
} | |
header / { | |
-Server | |
} | |
basicauth / {$ADMIN_USER} {$ADMIN_PASSWORD} | |
basicauth / {$RO_USER} {$RO_PASSWORD} | |
proxy / cloudkeeperaws.marathon.l4lb.thisdcos.directory:8000 { | |
transparent | |
} | |
errors stderr | |
tls off | |
} | |
:9090 { | |
prometheus 0.0.0.0:9180 | |
realip { | |
from 44.128.0.0/20 | |
} | |
header / { | |
-Server | |
} | |
basicauth / {$ADMIN_USER} {$ADMIN_PASSWORD} | |
basicauth / {$RO_USER} {$RO_PASSWORD} | |
proxy / cloudkeeperprometheus.marathon.l4lb.thisdcos.directory:9090 { | |
transparent | |
} | |
errors stderr | |
tls off | |
} | |
:9093 { | |
prometheus 0.0.0.0:9180 | |
realip { | |
from 44.128.0.0/20 | |
} | |
header / { | |
-Server | |
} | |
basicauth / {$ADMIN_USER} {$ADMIN_PASSWORD} | |
basicauth / {$RO_USER} {$RO_PASSWORD} | |
proxy / cloudkeeperprometheus.marathon.l4lb.thisdcos.directory:9093 { | |
transparent | |
} | |
errors stderr | |
tls off | |
} | |
:9091 { | |
prometheus 0.0.0.0:9180 | |
realip { | |
from 44.128.0.0/20 | |
} | |
header / { | |
-Server | |
} | |
basicauth / {$ADMIN_USER} {$ADMIN_PASSWORD} | |
basicauth / {$RO_USER} {$RO_PASSWORD} | |
proxy / cloudkeeperprometheus.marathon.l4lb.thisdcos.directory:9091 { | |
transparent | |
} | |
errors stderr | |
tls off | |
} | |
:3000 { | |
prometheus 0.0.0.0:9180 | |
realip { | |
from 44.128.0.0/20 | |
} | |
header / { | |
-Server | |
} | |
proxy / cloudkeepergrafana.marathon.l4lb.thisdcos.directory:3000 { | |
transparent | |
websocket | |
} | |
errors stderr | |
tls off | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment