mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-11-11 00:40:07 +01:00
fix: Improve nginx configuration handling (#1357)
This commit is contained in:
1 parent
030255004f
commit
4c700e87fe
1 file changed
+4
-1
+4
-1
@@ -64,7 +64,10 @@ configureNginx() {
|
||||
return 1
|
||||
fi
|
||||
|
||||
cp /etc/nginx/default.conf /etc/nginx/sites-enabled/web.conf
|
||||
if ! cp /etc/nginx/default.conf /etc/nginx/sites-enabled/web.conf; then
|
||||
error "Failed to copy nginx config!"
|
||||
return 1
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user