From 8dd05d69cd1fcfd02cdc7dc559c061bff35bad91 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 10 Jan 2022 11:07:25 +0100 Subject: [PATCH] try to match all paths --- .../nginx/sites-available/update-page.conf.ssl.template | 5 +++++ .../nginx/sites-available/update-page.conf.template | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/deployment/bare_metal/nginx/sites-available/update-page.conf.ssl.template b/deployment/bare_metal/nginx/sites-available/update-page.conf.ssl.template index 4dd44c4c6..6e5ce8c40 100644 --- a/deployment/bare_metal/nginx/sites-available/update-page.conf.ssl.template +++ b/deployment/bare_metal/nginx/sites-available/update-page.conf.ssl.template @@ -25,6 +25,11 @@ server { root $NGINX_UPDATE_PAGE_ROOT; index updating.html; + location / { + alias $NGINX_UPDATE_PAGE_ROOT; + index updating.html; + } + #access_log /var/log/nginx/access.log main; } diff --git a/deployment/bare_metal/nginx/sites-available/update-page.conf.template b/deployment/bare_metal/nginx/sites-available/update-page.conf.template index 9e7a96328..84f66d4c9 100644 --- a/deployment/bare_metal/nginx/sites-available/update-page.conf.template +++ b/deployment/bare_metal/nginx/sites-available/update-page.conf.template @@ -10,7 +10,12 @@ server { root $NGINX_UPDATE_PAGE_ROOT; index updating.html; - #access_log /var/log/nginx/access.log main; + location / { + alias $NGINX_UPDATE_PAGE_ROOT; + index updating.html; + } + + access_log /var/log/nginx/access.log main; }