Improve comments for Caddy's TLS instructions

This commit is contained in:
Brendan Abolivier 2019-05-09 13:22:23 +01:00
parent e067db613c
commit cdac997ddb
2 changed files with 3 additions and 0 deletions

View file

@ -1,4 +1,6 @@
https://dimension.DOMAIN { https://dimension.DOMAIN {
# These might differ if you are supplying your own certificates
# If you wish to use Caddy's built-in Let's Encrypt support, you can also supply an email address here
tls /matrix/ssl/config/live/dimension.DOMAIN/fullchain.pem /matrix/ssl/config/live/dimension.DOMAIN/privkey.pem tls /matrix/ssl/config/live/dimension.DOMAIN/fullchain.pem /matrix/ssl/config/live/dimension.DOMAIN/privkey.pem
proxy / http://127.0.0.1:8134/ { proxy / http://127.0.0.1:8134/ {

View file

@ -1,5 +1,6 @@
https://matrix.DOMAIN { https://matrix.DOMAIN {
# If you use your own certificates, your path may differ # If you use your own certificates, your path may differ
# If you wish to use Caddy's built-in Let's Encrypt support, you can also supply an email address here
tls /matrix/ssl/config/live/matrix.DOMAIN/fullchain.pem /matrix/ssl/config/live/matrix.DOMAIN/privkey.pem tls /matrix/ssl/config/live/matrix.DOMAIN/fullchain.pem /matrix/ssl/config/live/matrix.DOMAIN/privkey.pem
root /matrix/static-files root /matrix/static-files