Fix maintenance snippet

This commit is contained in:
Alex Kotov 2023-05-30 09:26:22 +04:00
parent 4d5857617b
commit 64d9683f1d
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
error_page 502 = /maintenance.html;
error_page 502 =502 @maintenance;
location = /maintenance.html { root {{ nginx__dir_www_html }}; }
location = /maintenance.jpg { root {{ nginx__dir_www_html }}; }
location @maintenance { root {{ nginx__dir_www_html }}; }
location = /maintenance.jpg { root {{ nginx__dir_www_html }}; }