mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 23:39:30 +00:00
Fix key name
This commit is contained in:
parent
30cf709eb2
commit
7ded8ad4fe
@ -712,7 +712,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func runServer(environment string, server *gin.Engine) {
|
func runServer(environment string, server *gin.Engine) {
|
||||||
useTLS := viper.GetBool("http.use_tls")
|
useTLS := viper.GetBool("http.use-tls")
|
||||||
if useTLS {
|
if useTLS {
|
||||||
certPath, err := config.CredentialFilePath("tls.cert")
|
certPath, err := config.CredentialFilePath("tls.cert")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -69,7 +69,7 @@ log-file: ""
|
|||||||
http:
|
http:
|
||||||
# If true, bind to 443 and use TLS.
|
# If true, bind to 443 and use TLS.
|
||||||
# By default, this is false, and museum will bind to 8080 without TLS.
|
# By default, this is false, and museum will bind to 8080 without TLS.
|
||||||
# use_tls: true
|
# use-tls: true
|
||||||
|
|
||||||
# Database connection parameters
|
# Database connection parameters
|
||||||
db:
|
db:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
log-file: /var/logs/museum.log
|
log-file: /var/logs/museum.log
|
||||||
|
|
||||||
http:
|
http:
|
||||||
use_tls: true
|
use-tls: true
|
||||||
|
|
||||||
stripe:
|
stripe:
|
||||||
path:
|
path:
|
||||||
|
@ -11,7 +11,7 @@ ExecStartPre=-docker stop museum
|
|||||||
ExecStartPre=-docker rm museum
|
ExecStartPre=-docker rm museum
|
||||||
ExecStart=docker run --name museum \
|
ExecStart=docker run --name museum \
|
||||||
-e ENVIRONMENT=production \
|
-e ENVIRONMENT=production \
|
||||||
-e ENTE_HTTP-USE_TLS=0 \
|
-e ENTE_HTTP_USE-TLS=1 \
|
||||||
--hostname "%H" \
|
--hostname "%H" \
|
||||||
-p 8080:8080 \
|
-p 8080:8080 \
|
||||||
-p 2112:2112 \
|
-p 2112:2112 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user