先决条件 (Prerequisites)
修改或删除的原因 (Reasons of the modification or removal)
This is the latest version of the official configuration guide:
https://www.haskell.org/ghcup/guide/#mirrors-proper
To use this method, GHCup expects to find the files under $host/$pathPrefix/haskell/ghcup-metadata/. The mirror, as it is currently configured, puts all the files under ghcup/ghcup-metadata/.
配置方法 (Configuration method)
The easiest solution AFAIK is to serve the same set of files under both ghcup/haskell/ghcup-metadata/ (for mirrors support with $pathPrefix = ghcup) and ghcup/ghcup-metadata/ (for backwards compatibility). I think the server can be configured to simply redirect one URL to the other.
修改后的镜像大小 (Mirror size after modification)
No change expected
备注 (Note)
No response
先决条件 (Prerequisites)
我已确认该事宜从未在 其他 issues 中讨论过。
I have checked that my proposal has not been discussed in other issues.
我已仔细阅读 请求新镜像前必读。
I have CAREFULLY read the mirroring rules.
修改或删除的原因 (Reasons of the modification or removal)
This is the latest version of the official configuration guide:
https://www.haskell.org/ghcup/guide/#mirrors-proper
To use this method, GHCup expects to find the files under
$host/$pathPrefix/haskell/ghcup-metadata/. The mirror, as it is currently configured, puts all the files underghcup/ghcup-metadata/.配置方法 (Configuration method)
The easiest solution AFAIK is to serve the same set of files under both
ghcup/haskell/ghcup-metadata/(formirrorssupport with$pathPrefix = ghcup) andghcup/ghcup-metadata/(for backwards compatibility). I think the server can be configured to simply redirect one URL to the other.修改后的镜像大小 (Mirror size after modification)
No change expected
备注 (Note)
No response