mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-08-29 04:07:02 +00:00
fix: Improve nginx configuration handling (#1357)
This commit is contained in:
+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