File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
- 1.4.2
1
+ 1.4.3
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ server {
18
18
19
19
<% if [ "${SSL_REDIRECT_INSECURE}" = "1" ] ; then -%>
20
20
# redirect to HTTPS
21
- return 301 $host$request_uri;
21
+ return 301 https:// $host$request_uri;
22
22
<% else -%>
23
23
# serve pages in <%= "${WWW}" %> (map volume to override default pages)
24
24
root <%= "${WWW}" %>;
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/with-contenv bash
2
+
3
+ set -euo pipefail
4
+
5
+
6
+ #======================================================================================================================
7
+ # Attempt to load Proxy URI using wget
8
+ #======================================================================================================================
9
+
10
+ wget --no-verbose --tries=1 --spider "http://${PROXY_URI}" || exit 1
You can’t perform that action at this time.
0 commit comments