Wikipedia Reverse Proxy

I made a Wikipedia reverse proxy using caddy, which is an open-source web server written in Go.

Try it now!

There are a few points to note:

  • If you are using Cloudflare’s CDN service, you can try tls.dns.cloudflare plugin. And you may also need to replace header_upstream X-Real-IP {remote} with header_upstream X-Real-IP {>CF-Connecting-IP}.
  • Using github.com/zrt/caddy-filter-with-header instead of original http.filter plugin can proxy the 301/302 redirects.

Ref: https://ichon.me/post/1026.html


New: Wiki-zh Google DuckDuckGo Google Scholar GitHub Gist

加入对话

1条评论

留下评论

电子邮件地址不会被公开。 必填项已用*标注