Fix maintenance snippet

This commit is contained in:
Alex Kotov 2023-05-30 09:49:06 +04:00
parent 64d9683f1d
commit a290d48f6f
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -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 }}; }