Skip to content

Commit

Permalink
fix: add default_server back
Browse files Browse the repository at this point in the history
  • Loading branch information
suphon-t committed Jan 15, 2024
1 parent 6b99035 commit 060fe8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/daemon/nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func (n *Nginx) writeConfig() error {
Directives: []gonginx.IDirective{
&gonginx.Directive{
Name: "listen",
Parameters: []string{"127.0.0.1"},
Parameters: []string{"127.0.0.1", "default_server"},
},
&gonginx.Directive{
Name: "return",
Expand Down

0 comments on commit 060fe8f

Please sign in to comment.