From a290d48f6fcea5683e9cc2d4761aa273b0abe532 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Tue, 30 May 2023 09:49:06 +0400 Subject: [PATCH] Fix maintenance snippet --- templates/maintenance.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}; }