Skip to content

Commit 0cc6729

Browse files
authored
v4.0.4 (#99)
Minor updates * Fixing domains configuration warning * Supporting custom location blocks
1 parent 7d2413d commit 0cc6729

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.3
1+
4.0.4

overlay/etc/bf/templates/nginx-site.conf.esh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ server {
9696
include helpers/nginx-discworld.conf;
9797
}
9898

99+
# add optional custom location blocks
100+
include <%= "${CUSTOM_CONF}/${DOMAIN_NAME}[.]location" %>;
101+
99102
# returns a friendly auto-refreshing 'maintenance' page if upstream servers are not available
100103
include helpers/proxy-maintenance.conf;
101104

overlay/usr/lib/bf/inc/proxy-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ source ${BF_INC}/proxy-load-conf.sh
3333
#======================================================================================================================
3434

3535
if [ "${#DOMAINS[*]}" = "0" ] ; then
36-
bf-error "No domains have been registered for SSL - please add them to /ssl/conf.sh." "inc/proxy-check.sh"
36+
bf-error "No domains have been registered for SSL - please add them to /ssl/conf.json." "inc/proxy-check.sh"
3737
exit 1
3838
fi
3939

0 commit comments

Comments
 (0)