~repos /website

#astro#js#html#css

GIT_CONFIG_PARAMETERS="'http.version=HTTP/1.1'" git clone https://git.pyrossh.dev/website.git
Discussions: https://groups.google.com/g/rust-embed-devs

木 Personal website of pyrossh. Built with astrojs, shiki, vite.



.alchemy/prd/rewrite-rules-prd.json



{
"kind": "cloudflare::Ruleset",
"id": "rewrite-rules-prd",
"fqn": "prd/rewrite-rules-prd",
"seq": 3,
"data": {},
"status": "created",
"output": {
"Symbol(alchemy::ResourceKind)": "cloudflare::Ruleset",
"Symbol(alchemy::ResourceID)": "rewrite-rules-prd",
"Symbol(alchemy::ResourceFQN)": "prd/rewrite-rules-prd",
"Symbol(alchemy::ResourceScope)": {
"@scope": null
},
"Symbol(alchemy::ResourceSeq)": 3,
"id": "9aedcf431d7f4e66b68d6091436fa05c",
"zoneId": "e95a5d8957b75859c814579deebfce33",
"phase": "http_request_transform",
"name": "default",
"rules": [
{
"action": "rewrite",
"action_parameters": {
"uri": {
"path": {
"expression": "concat(http.request.uri.path, \"index.html\")"
}
}
},
"description": "Rewrite trailing slash to index.html",
"enabled": true,
"expression": "(ends_with(http.request.uri.path, \"/\") and http.host eq \"pyrossh.dev\")",
"id": "6f422284b559416c8fdaff9fe7729dcf",
"last_updated": "2026-05-15T05:38:13.541986Z",
"ref": "6f422284b559416c8fdaff9fe7729dcf",
"version": "1"
},
{
"action": "rewrite",
"action_parameters": {
"uri": {
"path": {
"expression": "concat(http.request.uri.path, \"/index.html\")"
}
}
},
"description": "Rewrite non-file paths to path/index.html",
"enabled": true,
"expression": "(not ends_with(http.request.uri.path, \"/\") and not http.request.uri.path contains \".\" and http.host eq \"pyrossh.dev\")",
"id": "8534474241ca4d52bf74a6a079acb52d",
"last_updated": "2026-05-15T05:38:13.541986Z",
"ref": "8534474241ca4d52bf74a6a079acb52d",
"version": "1"
},
{
"action": "rewrite",
"action_parameters": {
"uri": {
"path": {
"expression": "concat(http.request.uri.path, \"/index.html\")"
}
}
},
"description": "Rewrite /files/ paths with extension to append /index.html",
"enabled": true,
"expression": "(http.request.uri.path contains \"/files/\" and http.request.uri.path contains \".\" and not ends_with(http.request.uri.path, \"/\") and http.host eq \"pyrossh.dev\")",
"id": "c0458fba18a54f998295b3bc7d34b5f6",
"last_updated": "2026-05-15T05:38:13.541986Z",
"ref": "c0458fba18a54f998295b3bc7d34b5f6",
"version": "1"
}
],
"lastUpdated": "2026-05-15T05:38:13.541986Z",
"version": "15"
},
"props": {
"zone": {
"Symbol(alchemy::ResourceKind)": "cloudflare::Zone",
"Symbol(alchemy::ResourceID)": "zone-prd",
"Symbol(alchemy::ResourceFQN)": "prd/zone-prd",
"Symbol(alchemy::ResourceScope)": {
"@scope": null
},
"Symbol(alchemy::ResourceSeq)": 0,
"id": "e95a5d8957b75859c814579deebfce33",
"name": "pyrossh.dev",
"type": "full",
"status": "pending",
"paused": false,
"accountId": "dfdb8ca4e419990852eb214c5b50bd5e",
"nameservers": [
"glen.ns.cloudflare.com",
"riya.ns.cloudflare.com"
],
"originalNameservers": [
"ns-1020.awsdns-63.net",
"ns-1447.awsdns-52.org",
"ns-1888.awsdns-44.co.uk",
"ns-482.awsdns-60.com"
],
"createdAt": 1778414069223,
"modifiedAt": 1778414069223,
"activatedAt": null,
"settings": {
"ssl": "strict",
"alwaysUseHttps": "on",
"automaticHttpsRewrites": "on",
"tls13": "on",
"earlyHints": "off",
"emailObfuscation": "on",
"browserCacheTtl": 14400,
"developmentMode": "off",
"http2": "on",
"http3": "on",
"ipv6": "on",
"websockets": "on",
"zeroRtt": "off",
"brotli": "on",
"hotlinkProtection": "off",
"minTlsVersion": "1.2"
}
},
"phase": "http_request_transform",
"rules": [
{
"description": "Rewrite trailing slash to index.html",
"expression": "(ends_with(http.request.uri.path, \"/\") and http.host eq \"pyrossh.dev\")",
"action": "rewrite",
"action_parameters": {
"uri": {
"path": {
"expression": "concat(http.request.uri.path, \"index.html\")"
}
}
}
},
{
"description": "Rewrite non-file paths to path/index.html",
"expression": "(not ends_with(http.request.uri.path, \"/\") and not http.request.uri.path contains \".\" and http.host eq \"pyrossh.dev\")",
"action": "rewrite",
"action_parameters": {
"uri": {
"path": {
"expression": "concat(http.request.uri.path, \"/index.html\")"
}
}
}
},
{
"description": "Rewrite /files/ paths with extension to append /index.html",
"expression": "(http.request.uri.path contains \"/files/\" and http.request.uri.path contains \".\" and not ends_with(http.request.uri.path, \"/\") and http.host eq \"pyrossh.dev\")",
"action": "rewrite",
"action_parameters": {
"uri": {
"path": {
"expression": "concat(http.request.uri.path, \"/index.html\")"
}
}
}
}
]
}
}