- Added upstream objects

- Renamed host templates to nginx templates
- Generate upstream templates
- Better nginx error reporting when reloading
- Use tparse for golang test reporting
This commit is contained in:
Jamie Curnow committed 2023-01-04 15:53:52 +10:00
1 parent b3ae2f4dbb
commit 5e5f0de0e2
82 files changed
+2209 -294

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ func shExec(args []string, envs []string) (string, error) {
c := exec.Command(acmeSh, args...)
c.Env = append(getCommonEnvVars(), envs...)
b, e := c.Output()
b, e := c.CombinedOutput()
if e != nil {
logger.Error("AcmeShError", fmt.Errorf("Command error: %s -- %v\n%+v", acmeSh, args, e))
-9
View File
@@ -11,15 +11,6 @@ import (
"github.com/stretchr/testify/assert"
)
// Tear up/down
/*
func TestMain(m *testing.M) {
config.Init(&version, &commit, &sentryDSN)
code := m.Run()
os.Exit(code)
}
*/
// TODO configurable
const acmeLogFile = "/data/logs/acme.sh.log"