import{_ as a,c as n,o as s,d as t}from"./app.c59cf861.js";const k='{"title":"Site Title","description":"","frontmatter":{},"headers":[{"level":2,"title":"Site Title","slug":"site-title"},{"level":2,"title":"Admin List","slug":"admin-list"},{"level":2,"title":"Theme","slug":"theme"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"Custom code (style, script)","slug":"custom-code-style-script"},{"level":2,"title":"Access Password","slug":"access-password"},{"level":2,"title":"CDN Bypassed Domain/IP","slug":"cdn-bypassed-domain-ip"},{"level":2,"title":"IP Change Alert","slug":"ip-change-alert"}],"relativePath":"en_US/guide/settings.md"}',e={},o=t(`
You can customize your site title here
If you have changed your Github/Gitee username, you can change it in this item, otherwise you can't log in, please separate multiple users with commas: user1,user2
To change your administrator account, please go to /opt/nezha/dashboard/data/config.yaml
to set the new administrator Client ID
and Client Secret
.
Select the home page theme here, and update the panel if there is not an existing theme in the options
Nezha Monitoring currently supports the following languages:
We welcome corrections to translations and contributions of additional languages
Change logo, change color tone, add statistics code, etc.
WARNING
The custom code only takes effect in the visitor's home page, not in the admin panel.
Since the code of different themes is different, if you really need to modify the content of the admin panel, please enter Docker to changes it by yourself.
<style>
.ui.fine.progress> .bar {
background-color: pink !important;
}
</style>
<style>
.ui.fine.progress> .progress-bar {
background-color: #00a7d0 !important;
}
</style>
<script>
window.onload = function(){
var footer=document.querySelector("div.footer-container")
footer.innerHTML="\xA92022 "your name" & Powered by "your name"
footer.style.visibility="visible"
}
</script>
<style>
.right.menu>a{
visibility: hidden;
}
.footer .is-size-7{
visibility: hidden;
}
.item img{
visibility: hidden;
}
</style>
<script>
window.onload = function(){
var avatar=document.querySelector(".item img")
var footer=document.querySelector("div.is-size-7")
footer.innerHTML="Powered by YOUR NAME"
footer.style.visibility="visible"
avatar.src="Your square logo link"
avatar.style.visibility="visible"
}
</script>
<style>
.hotaru-cover {
background: url(https://s3.ax1x.com/2020/12/08/DzHv6A.jpg) center;
}
</style>
If you don't want to show your homepage directly, you can set a access password here
After setting the password, you need to enter the password to access the homepage
This setting is a prerequisite for using the one-click script to install the Agent, see here for details
If you want to be notified when a server's ip changes, you can set it up here
Select a rule here to determine which servers need to be monitored, and you can choose according to your needs
In conjunction with the coverage settings, set the exclusions for the selected rule here
Select the notification method, please set the notification method in the "Notifications" page
WARNING
When the settings are completed, the notification takes effect when enabled
is activated
WARNING
IP Change Alert does not show ip by default, if you don't want to hide it, you can activate "Do NOT desensitize Server IP In Notification Messages"