From b11047fdd7afe26cbe053e76a36451a3f959a3b7 Mon Sep 17 00:00:00 2001 From: Mulder Date: Tue, 28 May 2024 15:54:00 -0700 Subject: [PATCH] DBC22-2235-2: Cleanup maintenance page files --- compose/frontend/default_maintenance.txt | 3 ++- .../public/{ => maintenance}/dbc-logo-beta.svg | 0 src/frontend/public/{ => maintenance}/dbc-logo.svg | 0 .../public/{ => maintenance}/instagram-icon.png | Bin .../public/{ => maintenance}/linkedin-icon.png | Bin .../public/{ => maintenance}/maintenance.html | 0 .../public/{ => maintenance}/twitter-icon.png | Bin 7 files changed, 2 insertions(+), 1 deletion(-) rename src/frontend/public/{ => maintenance}/dbc-logo-beta.svg (100%) rename src/frontend/public/{ => maintenance}/dbc-logo.svg (100%) rename src/frontend/public/{ => maintenance}/instagram-icon.png (100%) rename src/frontend/public/{ => maintenance}/linkedin-icon.png (100%) rename src/frontend/public/{ => maintenance}/maintenance.html (100%) rename src/frontend/public/{ => maintenance}/twitter-icon.png (100%) diff --git a/compose/frontend/default_maintenance.txt b/compose/frontend/default_maintenance.txt index a3c394e61..08ef1dd53 100644 --- a/compose/frontend/default_maintenance.txt +++ b/compose/frontend/default_maintenance.txt @@ -38,7 +38,8 @@ server { server_tokens off; location / { - index maintenance.html maintenance.htm; + root /usr/share/nginx/html/maintenance; + index maintenance.html; try_files $uri $uri/ /maintenance.html; } diff --git a/src/frontend/public/dbc-logo-beta.svg b/src/frontend/public/maintenance/dbc-logo-beta.svg similarity index 100% rename from src/frontend/public/dbc-logo-beta.svg rename to src/frontend/public/maintenance/dbc-logo-beta.svg diff --git a/src/frontend/public/dbc-logo.svg b/src/frontend/public/maintenance/dbc-logo.svg similarity index 100% rename from src/frontend/public/dbc-logo.svg rename to src/frontend/public/maintenance/dbc-logo.svg diff --git a/src/frontend/public/instagram-icon.png b/src/frontend/public/maintenance/instagram-icon.png similarity index 100% rename from src/frontend/public/instagram-icon.png rename to src/frontend/public/maintenance/instagram-icon.png diff --git a/src/frontend/public/linkedin-icon.png b/src/frontend/public/maintenance/linkedin-icon.png similarity index 100% rename from src/frontend/public/linkedin-icon.png rename to src/frontend/public/maintenance/linkedin-icon.png diff --git a/src/frontend/public/maintenance.html b/src/frontend/public/maintenance/maintenance.html similarity index 100% rename from src/frontend/public/maintenance.html rename to src/frontend/public/maintenance/maintenance.html diff --git a/src/frontend/public/twitter-icon.png b/src/frontend/public/maintenance/twitter-icon.png similarity index 100% rename from src/frontend/public/twitter-icon.png rename to src/frontend/public/maintenance/twitter-icon.png