diff --git a/templates/maintenance.conf b/templates/maintenance.conf index 772559a..f151422 100644 --- a/templates/maintenance.conf +++ b/templates/maintenance.conf @@ -1,4 +1,4 @@ error_page 502 =502 @maintenance; -location @maintenance { root {{ nginx__dir_www_html }}; } +location @maintenance { root {{ nginx__dir_www_html }}; try_files /maintenance.html maintenance.html; } location = /maintenance.jpg { root {{ nginx__dir_www_html }}; }