Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #21 from sloppyio/set-ssl-when-domain
Browse files Browse the repository at this point in the history
always enable ssl flag when app has a domain
  • Loading branch information
var2dan authored Jun 20, 2018
2 parents e00c618 + 1e236ca commit 79ca166
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/converter/sloppy_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ func NewSloppyFile(cf *ComposeFile) (*SloppyFile, error) {
if uri != nil {
app.App.Domain = &sloppy.Domain{URI: uri}
app.Domain = uri
app.SSL = sloppy.Bool(true)
}

if envList, ok := config.Environment.([]interface{}); ok {
Expand Down
1 change: 1 addition & 0 deletions pkg/converter/testdata/golden0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ services:
instances: 3
mem: 64
port: 80
ssl: true
volumes:
- container_path: /var/www/html

0 comments on commit 79ca166

Please sign in to comment.