Skip to content

Commit

Permalink
feat add compression
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagostutz committed Jun 6, 2020
1 parent fb2f91f commit 217f530
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion non-tls/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ fi
traefik --api --docker --docker.watch --docker.domain=docker.localhost --docker.swarmMode=$SWARM_MODE \
--ping --ping.entryPoint=http \
--metrics.prometheus \
--entrypoints='Name:http Address::80' \
--entrypoints='Name:http Address::80 Compress:true' \
--retry \
--loglevel=$LOG_LEVEL
4 changes: 2 additions & 2 deletions tls/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ chmod 600 acme.json
traefik --api --docker --docker.watch --docker.domain=docker.localhost --docker.swarmMode=$SWARM_MODE \
--ping --ping.entryPoint=http \
--metrics.prometheus \
--entrypoints='Name:http Address::80 Redirect.EntryPoint:https' \
--entryPoints='Name:https Address::443 TLS' \
--entrypoints='Name:http Address::80 Compress:true Redirect.EntryPoint:https' \
--entryPoints='Name:https Address::443 Compress:true TLS' \
--acme \
--acme.acmelogging \
--acme.caserver=$ACME_SERVER --acme.email=$LETS_ENCRYPT_EMAIL \
Expand Down

0 comments on commit 217f530

Please sign in to comment.