From 064eee2962fcd9afaef33a6628d4d9669161a5ca Mon Sep 17 00:00:00 2001 From: XOF Date: Mon, 15 Dec 2025 01:19:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20proxy/index.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxy/index.go | 263 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 263 insertions(+) create mode 100644 proxy/index.go diff --git a/proxy/index.go b/proxy/index.go new file mode 100644 index 0000000..675bd19 --- /dev/null +++ b/proxy/index.go @@ -0,0 +1,263 @@ +// proxy/index.go +package proxy + +import ( + "net/http" +) + +func ServeIndexPage(w http.ResponseWriter, r *http.Request) { + html := ` + + + + + Secure Site Proxy + + + +
+
+

🔒 Secure Site Proxy

+

Access websites securely through encrypted proxy

+
+ +
+
+ +
+ + +
+
+
+ +
+

Security Features:

+
    +
  • End-to-end encrypted connection
  • +
  • No logging of accessed URLs
  • +
  • Automatic content rewriting
  • +
  • Protection against private network access
  • +
+
+ + +
+ + + +` + + w.Header().Set("Content-Type", "text/html; charset=utf-8") + w.Write([]byte(html)) +}