Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
use http_ instead of server_ variables for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski committed Aug 15, 2019
1 parent f358eb1 commit f63f717
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
drone-runner-exec
drone-runner-exec.exe
release/*
docs/public/*
docs/themes/*
.env
NOTES*
9 changes: 5 additions & 4 deletions daemon/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ type Config struct {
}

Server struct {
Proto string `envconfig:"DRONE_SERVER_PROTO"`
Host string `envconfig:"DRONE_SERVER_HOST"`
Port string `envconfig:"DRONE_SERVER_PORT" default:":3000"`
Acme bool `envconfig:"DRONE_SERVER_ACME"`
Proto string `envconfig:"DRONE_HTTP_PROTO"`
Host string `envconfig:"DRONE_HTTP_HOST"`
Port string `envconfig:"DRONE_HTTP_BIND" default:":3000"`
Acme bool `envconfig:"DRONE_ACME_ENABLED"`
Email string `envconfig:"DRONE_ACME_EMAIL"`
}

Runner struct {
Expand Down

0 comments on commit f63f717

Please sign in to comment.