Skip to content

Commit 02fb07f

Browse files
committed
feat: custom nginx conf dir path #62
1 parent 7a98c16 commit 02fb07f

File tree

12 files changed

+694
-684
lines changed

12 files changed

+694
-684
lines changed

app.example.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ JwtSecret =
55
Email =
66
HTTPChallengePort = 9180
77
StartCmd = login
8+
Database = database
9+
CADir =
10+
Demo =
11+
GithubProxy =
12+
NginxConfigDir =
813

914
[nginx_log]
1015
AccessLogPath = /var/log/nginx/access.log

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func prog(state overseer.State) {
4848
gin.SetMode(settings.ServerSettings.RunMode)
4949

5050
settings.Init(confPath)
51-
log.Printf("Nginx config dir path: %s", nginx.GetNginxConfPath(""))
51+
log.Printf("Nginx config dir path: %s", nginx.GetConfPath())
5252
if "" != settings.ServerSettings.JwtSecret {
5353
model.Init()
5454

0 commit comments

Comments
 (0)