Fix key name
This commit is contained in:
parent
30cf709eb2
commit
7ded8ad4fe
4 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
log-file: /var/logs/museum.log
|
||||
|
||||
http:
|
||||
use_tls: true
|
||||
use-tls: true
|
||||
|
||||
stripe:
|
||||
path:
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue