Skip to content

Instantly share code, notes, and snippets.

View consatan's full-sized avatar

Chopin Ngo consatan

  • Amoy, Fujian, China
View GitHub Profile
@consatan
consatan / wave_loading.html
Created September 3, 2022 10:46
wave loading
<!DOCTYPE html>
<html lang="en-us">
<head>
<style>
html, body {
width: 100%;
height: 100%;
}
.loading div {
@consatan
consatan / vultr.vps.bench.md
Last active November 7, 2022 09:27
vultr vps bench

vultr 1c1g25g(nvme) amd hp(6$/m) at los angeles

root@test:/# curl -sL yabs.sh | bash
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
#              Yet-Another-Bench-Script              #
#                     v2022-08-20                    #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
@consatan
consatan / mtls_with_cf.md
Last active September 7, 2025 20:01
通过 CloudFlare 进行 HTTPS 双向认证

通过 CloudFlare 进行 HTTPS 双向认证

首先配置 CF 与 服务端的 SSL,最低要求 Flexible 级别

并在 CF 上开启强制 HTTPS(登陆 CF 后,点击相应域名,SSL/TLSEdge Certificates,勾选 Always Use HTTPSAutomatic HTTPS Rewrites)

生成证书

还是在 SSL/TLS 菜单下,点击左侧的 Client Certificates,点击 Edit 按钮添加要双向认证的域名(手动输入子域名,或者选择全域名),保存后点击右侧的 Create Certificates