-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
.proxy.config
44 lines (41 loc) · 1.5 KB
/
.proxy.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
error_page 502 /502.html;
location /502.html {
add_header Content-Type text/html;
return 502 '<html>
<head>
<title>Cocreate is rebooting</title>
<link href="https://fonts.googleapis.com/css?family=Merriweather:400,400i,700&subset=latin-ext" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body { margin: 30px; font-family: "Merriweather", serif;
line-height: 1.42857143; font-size: 21px; /*14px*/ }
/* Based on Bootstrap h1 */
h1 { margin-top: 20px; margin-bottom: 20px; font-size: 36px; /*36px*/
font-weight: 500; line-height: 1.1; }
/* Based on Bootstrap .alert .alert-danger */
.notice { color: #a94442; background-color: #f2dede; border-color: #ebccd1;
padding: 15px;
border: 1px solid transparent; border-radius: 4px;
}
/* Based on Bootstrap p */
p { padding: 0px; margin-top: 11px; margin-bottom: 11px; }
</style>
</head>
<body>
<h1>Cocreate is restarting</h1>
<div class="notice">
<p>
Cocreate is currently restarting, likely to add some features or
remove some bugs. See Cocreate’s
<a href="https://github.com/edemaine/cocreate/blob/main/CHANGELOG.md">Changelog</a>
to see what’s changed lately.
<p style="text-align: center">
<b>Please wait while the server restarts, then reload this page.
Sorry for the delay!</b>
<p>
If you see this message for more than a few minutes,
please let the server administrator know.
</div>
</body>
</html>';
}