mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
feat: Add showUptimeHistoryInDays property with access control and default value to StatusPage model
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user