web/caddy/CaddyfileMaintance
2024-09-20 18:39:12 +05:00

31 lines
938 B
Text

# https://futurestud.io/tutorials/caddy-reverse-proxy-a-node-js-app
:6752 {
# header Server "nginx"
encode gzip
header -Server
route /* {
header Content-Type text/html
respond <<HTML
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
<article>
<h1>We&rsquo;ll be back soon!</h1>
<div>
<p>Sorry for the inconvenience but we&rsquo;re performing some maintenance at the moment. If you need to you can always <a href="mailto:#admin@freedium.cfd">contact us</a>, otherwise we&rsquo;ll be back online shortly!</p>
<p>&mdash; Freedium developers</p>
</div>
</article>
HTML 200
}
}