AAAAAAAAAAAAAAAA
This commit is contained in:
parent
369eacc8c3
commit
544e368d13
3 changed files with 6 additions and 7 deletions
|
@ -3,5 +3,4 @@
|
|||
# copy server files
|
||||
cp -r /custom/vhost.d/* /etc/nginx/vhost.d
|
||||
cp -r /custom/conf.d/* /etc/nginx/conf.d
|
||||
|
||||
mv /custom/error_pages /usr/share/nginx/html/errors
|
||||
cp -r /custom/error_pages/* /usr/share/nginx/html
|
|
@ -1,6 +1,6 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>503 Error</title>
|
||||
<title>50x Error</title>
|
||||
<style>
|
||||
:root {
|
||||
--background: #1e1e1e;
|
||||
|
@ -34,7 +34,7 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>503 Error</h1>
|
||||
<h1>50x Error</h1>
|
||||
<p>Sorry, the server is currently unavailable. Please try again later.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -294,9 +294,9 @@ server {
|
|||
{{- end }}
|
||||
{{ $globals.access_log }}
|
||||
|
||||
error_page 503 /503.html;
|
||||
location = /503.html {
|
||||
root /usr/share/nginx/html/errors;
|
||||
error_page 503 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
location / {
|
||||
return 503;
|
||||
|
|
Reference in a new issue