diff --git a/readme-vars.yml b/readme-vars.yml
index cfcdcef..d15468c 100755
--- a/readme-vars.yml
+++ b/readme-vars.yml
@@ -150,6 +150,7 @@ app_setup_nginx_reverse_proxy_block: ""
# changelog
changelogs:
+ - { date: "03.01.21:", desc: "Add helper pages to aid troubleshooting" }
- { date: "10.12.20:", desc: "Add support for njalla dns validation" }
- { date: "09.12.20:", desc: "Check for template/conf updates and notify in the log. Add support for gehirn and sakuracloud dns validation." }
- { date: "01.11.20:", desc: "Add support for netcup dns validation" }
diff --git a/root/defaults/502.html b/root/defaults/502.html
new file mode 100644
index 0000000..ff7d8fc
--- /dev/null
+++ b/root/defaults/502.html
@@ -0,0 +1,44 @@
+
+
+ 502
+
+
+
+
+
+
\ No newline at end of file
diff --git a/root/defaults/default b/root/defaults/default
index c4b27ae..6d76de6 100644
--- a/root/defaults/default
+++ b/root/defaults/default
@@ -1,4 +1,6 @@
-## Version 2020/05/23 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/default
+## Version 2021/01/03 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/default
+
+error_page 502 /502.html;
# redirect all traffic to https
server {
diff --git a/root/defaults/index.html b/root/defaults/index.html
new file mode 100644
index 0000000..352d1af
--- /dev/null
+++ b/root/defaults/index.html
@@ -0,0 +1,39 @@
+
+
+ Welcome to your SWAG instance
+
+
+
+
+
+
\ No newline at end of file
diff --git a/root/etc/cont-init.d/50-config b/root/etc/cont-init.d/50-config
index 11bb247..2ec9d4f 100644
--- a/root/etc/cont-init.d/50-config
+++ b/root/etc/cont-init.d/50-config
@@ -77,6 +77,8 @@ cp /config/fail2ban/jail.local /etc/fail2ban/jail.local
cp /defaults/authelia-location.conf /config/nginx/authelia-location.conf
[[ ! -f /config/nginx/geoip2.conf ]] && \
cp /defaults/geoip2.conf /config/nginx/geoip2.conf
+[[ ! -f /config/www/502.html ]] &&
+ cp /defaults/502.html /config/www/502.html
# copy pre-generated dhparams or generate if needed
[[ ! -f /config/nginx/dhparams.pem ]] && \