Skip to content

Commit

Permalink
Initial cherry-picking of altis mkcert feature
Browse files Browse the repository at this point in the history
  • Loading branch information
alwaysblank committed Aug 2, 2022
1 parent 9f28b01 commit 628bb13
Show file tree
Hide file tree
Showing 7 changed files with 369 additions and 110 deletions.
6 changes: 3 additions & 3 deletions docker/conf/traefik.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ insecureSkipVerify = true
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[[entryPoints.https.tls.certificates]]
certFile = "/etc/traefik/sni/cert/altis.pem"
keyFile = "/etc/traefik/sni/key/altis.pem"
[entryPoints.https.tls.defaultCertificate]
certFile = "/etc/traefik/ssl-cert.pem"
keyFile = "/etc/traefik/ssl-key.pem"

[web]
address = ":8080"
Expand Down
5 changes: 2 additions & 3 deletions docker/proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ services:
container_name: altis-proxy
volumes:
- "$PWD/conf/traefik.toml:/etc/traefik/traefik.toml"
- "$PWD/ssl.cert:/etc/traefik/ssl.cert"
- "$PWD/ssl.key:/etc/traefik/ssl.key"
- "$PWD/sni:/etc/traefik/sni"
- "$PWD/ssl-cert.pem:/etc/traefik/ssl-cert.pem"
- "$PWD/ssl-key.pem:/etc/traefik/ssl-key.pem"
- /var/run/docker.sock:/var/run/docker.sock
ports:
- '8080:8080'
Expand Down
68 changes: 0 additions & 68 deletions docker/sni/cert/altis.pem

This file was deleted.

27 changes: 0 additions & 27 deletions docker/sni/key/altis.pem

This file was deleted.

Loading

0 comments on commit 628bb13

Please sign in to comment.