-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add Return Pages for Unauthorized Domains and IPs (#7306)
- Loading branch information
1 parent
dbe6208
commit db7180a
Showing
9 changed files
with
137 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Access Temporarily Unavailable</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
text-align: center; | ||
background-color: #f9f9f9; | ||
margin: 0; | ||
padding: 0; | ||
color: #333; | ||
} | ||
.container { | ||
max-width: 600px; | ||
margin: 50px auto; | ||
padding: 20px; | ||
background: #fff; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | ||
border-radius: 8px; | ||
} | ||
.icon img { | ||
width: 100px; | ||
height: auto; | ||
} | ||
h1 { | ||
font-size: 24px; | ||
color: #555; | ||
} | ||
p { | ||
font-size: 16px; | ||
color: #666; | ||
line-height: 1.5; | ||
} | ||
.command { | ||
font-family: monospace; | ||
background: #f0f0f0; | ||
padding: 5px 10px; | ||
border-radius: 4px; | ||
display: inline-block; | ||
margin-top: 10px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>Access Temporarily Unavailable</h1> | ||
<p>The current environment has enabled domain name binding.</p> | ||
<p>You can enter the following command in the SSH terminal to reset the binding information:</p> | ||
<p class="command">1pctl rest domain</p> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Access Temporarily Unavailable</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
text-align: center; | ||
background-color: #f9f9f9; | ||
margin: 0; | ||
padding: 0; | ||
color: #333; | ||
} | ||
.container { | ||
max-width: 600px; | ||
margin: 50px auto; | ||
padding: 20px; | ||
background: #fff; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | ||
border-radius: 8px; | ||
} | ||
.icon img { | ||
width: 100px; | ||
height: auto; | ||
} | ||
h1 { | ||
font-size: 24px; | ||
color: #555; | ||
} | ||
p { | ||
font-size: 16px; | ||
color: #666; | ||
line-height: 1.5; | ||
} | ||
.command { | ||
font-family: monospace; | ||
background: #f0f0f0; | ||
padding: 5px 10px; | ||
border-radius: 4px; | ||
display: inline-block; | ||
margin-top: 10px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>Access Temporarily Unavailable</h1> | ||
<p>The current environment has enabled authorized IP access.</p> | ||
<p>You can enter the following command in the SSH terminal to reset the binding information:</p> | ||
<p class="command">1pctl reset ips</p> | ||
</div> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.