We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53b953f commit 1496237Copy full SHA for 1496237
nginx-autoinstall.sh
@@ -6,6 +6,10 @@ if [[ $EUID -ne 0 ]]; then
6
exit 1
7
fi
8
9
+# Install curl if not installed
10
+if ! [[ $(command -v 'curl') ]]; then
11
+ apt-get install curl
12
+fi
13
# Get latest version from nginx.org
14
curl_request() {
15
curl -s https://nginx.org/en/download.html |
0 commit comments