首页 经验方法内容详情

宝塔面板“抱歉,站点已暂停”提示页面的修改

2022-10-22 巨蚂蚁目录

由于业务逻辑改变原因停止了一些宝塔面板上面的站点,导致了很多收藏域名的小伙伴访问的时候提示如下页面:

宝塔面板站点已暂停1

其实,修改这个提示很容易,我们只需要在宝塔文件里找到:/www/server/stop/index.html进行修改就行了!下面是修改:

  • <html>
  • <head>
  • <meta charset="utf-8">
  • <title>抱歉,站点已暂停title>
  • <style>
  • html,body,div,h1,*{margin:0;padding:0;}
  • body{
  • background-color:#585858;
  • color:#333;
  • }
  • .box{
  • width:580px;
  • margin:0 auto;
  • }
  • .logo{
  • background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAQAAABpN6lAAAAACXBIWXMAAAsTAAALEwEAmpwYAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAH+UlEQVR42uyde3AV1RnAfyFpTCBpFIVoaxUpSQSEAezwMDUJRK11DOTDAjJTtPRBBx1bK/VRO7T1VdFCRx6j6DgjltaamcIJWBpICRg0MFjGio6BRGKp4iOUMtBEkiBJ+ocxzQ17957de3bv3WY//mDYc75zzve73549z4+Ubga2DCIEEAIIAYQAQgAhgBBACCAEEAIIAYQAQgAhgBBACCAEEAIIAYQAQgADR9L8q0pyGUM+BRRwIVlkk00mp2ilhRaaaaCBRupVs78AUrzfF5ChlFBKKQVa2RuooYaX1fH/AwCSgfAdrnHxonWxneeoVO2BBSBj+BHzODeuQk5QwSpVHzgAMo6l3GSog+1iAw+ptwIDQPJZRjkpRgvtRnGfeifpAUgGP+NezvHkp+rgMR413ycYBCDX8hRf9bTHOsRt6q9JCUDSeJQlhh3f+mVYzv3qTJIBkIup4Crfxi6vcrP6IIkAyNVs5AJfh2/HmK1eSZK5gJRR7bP5cAHb5MakACC3sJGMBMxhMlGyIOEAZBHr/JxO9ZvGPS8/SGgfILPYQGpC57KdzFabEwRACtmeE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;
  • padding-top:160px;
  • margin-top:30%;
  • filter: invert(1000%);
  • }
  • h1{
  • font-size:20px;
  • text-align:center;
  • font-weight:normal;
  • color: #fff;
  • }
  • .box p a{
  • font-size: 28px;
  • text-decoration: none;
  • color: #FF5722;
  • text-align: center;
  • display: block;
  • margin-top: 20px;
  • }
  • style>
  • head>
  • <body>
  • <div class="box">
  • <div class="logo">div>
  • <h1>抱歉!该站点已经被管理员停止运行,请联系墨鱼了解详情!h1>
  • <p><a href="https://www.moyublog.com/studio/">进入模板演示站点a>p>
  • div>
  • body>
  • html>

修改后的效果:

宝塔面板站点已暂停2