Add redirection from http to https

This commit is contained in:
aterox
2022-03-07 05:50:24 -05:00
parent 93911c2520
commit 6ee5286ebf
3 changed files with 42 additions and 24 deletions

4
.env
View File

@@ -20,6 +20,10 @@
# SSL_PRIV_KEY_PATH=/etc/ssl/certs/dashy-priv.key
# SSL_PUB_KEY_PATH=/etc/ssl/certs/dashy-pub.pem
# If SSL enabled, choose whether or not to redirect http to https
# Defaults to true
# REDIRECT_HTTPS=true
# Usually the same as BASE_URL, but accessible in frontend
# VUE_APP_DOMAIN=https://dashy.to