Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix key name

Manav Rathi7ded8ad4fe12
diff --git a/server/cmd/museum/main.go b/server/cmd/museum/main.go
index 2c9f5fdd41..bf661d7d63 100644
--- a/server/cmd/museum/main.go
+++ b/server/cmd/museum/main.go
@@ -712,7 +712,7 @@ func main() {
}
func runServer(environment string, server *gin.Engine) {
- useTLS := viper.GetBool("http.use_tls")
+ useTLS := viper.GetBool("http.use-tls")
if useTLS {
certPath, err := config.CredentialFilePath("tls.cert")
if err != nil {
diff --git a/server/configurations/local.yaml b/server/configurations/local.yaml
index ebb85833b5..80274df194 100644
--- a/server/configurations/local.yaml
+++ b/server/configurations/local.yaml
@@ -69,7 +69,7 @@ log-file: ""
http:
# If true, bind to 443 and use TLS.
# By default, this is false, and museum will bind to 8080 without TLS.
- # use_tls: true
+ # use-tls: true
# Database connection parameters
db:
diff --git a/server/configurations/production.yaml b/server/configurations/production.yaml
index d3d48b3568..937d0c907a 100644
--- a/server/configurations/production.yaml
+++ b/server/configurations/production.yaml
@@ -1,7 +1,7 @@
log-file: /var/logs/museum.log
http:
- use_tls: true
+ use-tls: true
stripe:
path:
diff --git a/server/scripts/deploy/museum.nginx.service b/server/scripts/deploy/museum.nginx.service
index fa0472ca8c..e484cc73fb 100644
--- a/server/scripts/deploy/museum.nginx.service
+++ b/server/scripts/deploy/museum.nginx.service
@@ -11,7 +11,7 @@ ExecStartPre=-docker stop museum
ExecStartPre=-docker rm museum
ExecStart=docker run --name museum \
-e ENVIRONMENT=production \
- -e ENTE_HTTP-USE_TLS=0 \
+ -e ENTE_HTTP_USE-TLS=1 \
--hostname "%H" \
-p 8080:8080 \
-p 2112:2112 \