Suppose your Worker's domain is $REVERSE_PROXIED_RUSTUP_DOMAIN
(e.g. rustup.muc.moe
).
Visit $REVERSE_PROXIED_RUSTUP_DOMAIN
for the website rustup.rs
.
And set these environment variables for rustup
:
RUSTUP_DIST_SERVER
:https://$REVERSE_PROXIED_RUSTUP_DOMAIN