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

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 { root {{ nginx__dir_www_html }}; }
location = /maintenance.jpg { root {{ nginx__dir_www_html }}; }