AAAAAAAAAAAAAAAA

This commit is contained in:
Didier Slof 2023-02-19 15:35:17 +01:00
parent 369eacc8c3
commit 544e368d13
Signed by: didier
GPG key ID: 01E71F18AA4398E5
3 changed files with 6 additions and 7 deletions

View file

@ -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

View file

@ -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>

View file

@ -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;