We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3d9ca1 commit 4f0e2a6Copy full SHA for 4f0e2a6
1 file changed
subcmd/nginx.go
@@ -180,11 +180,11 @@ type nginxVhostConf struct {
180
181
func (nvf *nginxVhostFactory) createHost(conf *nginxVhostConf) error {
182
// Open vhost file for writing template
183
- /*p := filepath.Join(nginxVhostAvailableDir, conf.hostname)
+ p := filepath.Join(nginxVhostAvailableDir, conf.Hostname)
184
_, err := os.OpenFile(p, os.O_WRONLY, 0644)
185
if err != nil {
186
return fmt.Errorf("could not open %s for writing: %s", p, err)
187
- }*/
+ }
188
189
// Parse vhost template
190
t, err := template.New("nginxVhost").Parse(nginxVhostTemplate)
0 commit comments