feat: Add showUptimeHistoryInDays property with access control and default value to StatusPage model

This commit is contained in:
Nawaz Dhandala
2026-03-26 15:59:52 +00:00
parent 2da9ea272f
commit 4be33e6a0a
4 changed files with 58 additions and 6 deletions

View File

@@ -135,6 +135,22 @@ server {
proxy_pass $backend_app;
}
location /public-dashboard {
resolver ${NGINX_RESOLVER} valid=30s;
set $backend_app http://${SERVER_APP_HOSTNAME}:${APP_PORT};
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# enable WebSockets
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass $backend_app;
}
# Acme Verification.
location /.well-known {
resolver ${NGINX_RESOLVER} valid=30s;