Following tutor documentation when running tutor local quickstart
it will ask whether you want to enable https for the LMS_HOST and CMS_HOST
How can I add additional hosts and enable SSL for those hosts ?
Following tutor documentation when running tutor local quickstart
it will ask whether you want to enable https for the LMS_HOST and CMS_HOST
How can I add additional hosts and enable SSL for those hosts ?
The following solution worked for me:
Adding the new site with tls
directive in Caddyfile
lms.mysite.com {
reverse_proxy nginx:80 {
header_up X-Forwarded-Port 443
}
}
new_site.mysite.com {
tls name@email.com
reverse_proxy nginx:80 {
header_up X-Forwarded-Port 443
}
}
previewmysite.com {
reverse_proxy nginx:80
}
studio.mysite.com {
reverse_proxy nginx:80
}