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 2b8bf86 commit 76044e4Copy full SHA for 76044e4
bin/update-nginx-template.sh
@@ -0,0 +1,22 @@
1
+#!/bin/bash
2
+
3
+#
4
+# This script updates the branch name to 'main'
5
6
+# Source: https://github.com/evertramos/nginx-proxy-automation
7
8
9
+# Get the script name and its real file path
10
+SCRIPT_PATH="$(dirname "$(readlink -f "$0")")"
11
+SCRIPT_NAME="${0##*/}"
12
+CURRENT_PATH=$(pwd)
13
14
+cd "${SCRIPT_PATH}/../"
15
16
+# Update template with the latest version of nginx template
17
+curl https://raw.githubusercontent.com/jwilder/nginx-proxy/master/nginx.tmpl > nginx.tmpl
18
19
+cd - 1>/dev/null 2>/dev/null
20
21
+exit 0
22
0 commit comments