Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1306,6 +1306,7 @@ NEWSITE(){
|
|||||||
-websocket) WEBSOCKET=${2};;
|
-websocket) WEBSOCKET=${2};;
|
||||||
-hsts) HSTS=${2};;
|
-hsts) HSTS=${2};;
|
||||||
-exploits) EXPLOITS=${2};;
|
-exploits) EXPLOITS=${2};;
|
||||||
|
-secure) SECURE=${2};;
|
||||||
-h | -help | --help)
|
-h | -help | --help)
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert${idsCL[Default]} {"
|
echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert${idsCL[Default]} {"
|
||||||
@@ -1319,6 +1320,7 @@ NEWSITE(){
|
|||||||
printf "%-${width}s- %s\n" " -websocket {yes or no}" "(websocket support)"
|
printf "%-${width}s- %s\n" " -websocket {yes or no}" "(websocket support)"
|
||||||
printf "%-${width}s- %s\n" " -hsts {yes or no}" "(hsts support)"
|
printf "%-${width}s- %s\n" " -hsts {yes or no}" "(hsts support)"
|
||||||
printf "%-${width}s- %s\n" " -exploits {yes or no}" "(block exploits)"
|
printf "%-${width}s- %s\n" " -exploits {yes or no}" "(block exploits)"
|
||||||
|
printf "%-${width}s- %s\n" " -secure {yes or no}" "(secure access [nginx/.htpasswd])"
|
||||||
echo "}"
|
echo "}"
|
||||||
exit 1;;
|
exit 1;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user