mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
Merge branch 'next' into kikeflare
This commit is contained in:
27
haproxy/template/maintenance.html
Normal file
27
haproxy/template/maintenance.html
Normal file
@ -0,0 +1,27 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<title>Maintenance Mode</title>
|
||||
<style type="text/css">
|
||||
:root{--text-color:#c5c8c6;--bg-color:#1d1f21}
|
||||
@media (prefers-color-scheme:light){:root{--text-color:#333;--bg-color:#EEE}}
|
||||
a,a:visited{color:var(--text-color)}
|
||||
body,html{height:100%%}
|
||||
body{display:flex;flex-direction:column;background-color:var(--bg-color);color:var(--text-color);font-family:Helvetica,Arial,sans-serif;text-align:center;margin:0}
|
||||
code{background-color:#dfdfdf30;border-radius:3px;padding:0 3px;}
|
||||
img,h3,p{margin:0 0 5px 0}
|
||||
footer{font-size:x-small;margin-top:auto;margin-bottom:20px}.pt{padding-top:30vh}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h3 class="pt">Under maintenance. Please try again soon!</h3>
|
||||
<footer>
|
||||
<img src="/img/footerlogo.png">
|
||||
<p>Security and Performance by <a href="https://BasedFlare.com">BasedFlare</a></p>
|
||||
<p>Security and Performance by <a href="https://basedflare.com">BasedFlare</a></p>
|
||||
<p>Node: <code>%[env(RAY_ID)]</code></p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
10
haproxy/template/trace.txt
Normal file
10
haproxy/template/trace.txt
Normal file
@ -0,0 +1,10 @@
|
||||
ts=%Ts.%ms
|
||||
h=%[hdr(host)]
|
||||
ip=%ci
|
||||
uag=%[req.fhdr(user-agent)]
|
||||
http=%HV
|
||||
tls=%[ssl_fc]
|
||||
tlsv=%sslv
|
||||
sni=%[ssl_fc_sni]
|
||||
vey_id=%[env(RAY_ID)]
|
||||
expiry=%[env(CHALLENGE_EXPIRY)]
|
Reference in New Issue
Block a user