Fix moving default nginx configuration
This commit is contained in:
@@ -85,7 +85,7 @@ step_8() {
|
|||||||
step_9_info() { echo "Move automatically generated $toolName virutal host to new configuration directory"; }
|
step_9_info() { echo "Move automatically generated $toolName virutal host to new configuration directory"; }
|
||||||
step_9() {
|
step_9() {
|
||||||
exe mv /etc/nginx/sites-available/*.conf /etc/nginx/conf.d
|
exe mv /etc/nginx/sites-available/*.conf /etc/nginx/conf.d
|
||||||
exe mv /etc/nginx/conf.d/default /etc/nginx/sites-available
|
exe mv /etc/nginx/conf.d/default.conf /etc/nginx/sites-available
|
||||||
exe service nginx restart
|
exe service nginx restart
|
||||||
echo " [I] Check /etc/nginx/conf.d for unwanted configurations"
|
echo " [I] Check /etc/nginx/conf.d for unwanted configurations"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user