diff --git a/www/index.html b/www/index.html index 8b92fe990aef0c5abc7a99cd7924da980deac03a..616105a6be1b19a5dfa7e134f3be2875262953f5 100644 --- a/www/index.html +++ b/www/index.html @@ -26,19 +26,19 @@ <div id="platform-instructions-linux" class="instructions" style="display: none;"> <p>Run the following in your terminal (as a user other than root), then follow the onscreen instructions.</p> - <pre><span class='ghcup-command'>curl https://get-ghcup.haskell.org -sSf | sh</span></pre> + <pre><span class='ghcup-command'>curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh</span></pre> <p class="other-help">If you don't like curl | sh, see <a href="https://gitlab.haskell.org/haskell/ghcup/blob/master/README.md#manual-install">other installation methods</a>.<br/>You appear to be running Linux. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> </div> <div id="platform-instructions-mac" class="instructions" style="display: none;"> <p>Run the following in your terminal (as a user other than root), then follow the onscreen instructions.</p> - <pre><span class='ghcup-command'>curl https://get-ghcup.haskell.org -sSf | sh</span></pre> + <pre><span class='ghcup-command'>curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh</span></pre> <p class="other-help">If you don't like curl | sh, see <a href="https://gitlab.haskell.org/haskell/ghcup/blob/master/README.md#manual-install">other installation methods</a>.<br/>You appear to be running macOS. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> </div> <div id="platform-instructions-freebsd" class="instructions" style="display: none;"> <p>Run the following in your terminal (as a user other than root), then follow the onscreen instructions.</p> - <pre><span class='ghcup-command'>curl https://get-ghcup.haskell.org -sSf | sh</span></pre> + <pre><span class='ghcup-command'>curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh</span></pre> <p class="other-help">If you don't like curl | sh, see <a href="https://gitlab.haskell.org/haskell/ghcup/blob/master/README.md#manual-install">other installation methods</a>.<br/>You appear to be running FreeBSD. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> </div> @@ -78,7 +78,7 @@ <!-- duplicate the default cross-platform instructions --> <div> <p>If you are running Linux, macOS or FreeBSD,<br/>run the following in your terminal (as a user other than root), then follow the onscreen instructions.</p> - <pre><span class='ghcup-command'>curl https://get-ghcup.haskell.org -sSf | sh</span></pre> + <pre><span class='ghcup-command'>curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh</span></pre> <p class="other-help">If you don't like curl | sh, see <a href="https://gitlab.haskell.org/haskell/ghcup/blob/master/README.md#manual-install">other installation methods</a>.</p> </div> @@ -97,7 +97,7 @@ <div> <p>To install Haskell, if you are running Linux, macOS or FreeBSD,<br/>run the following in your terminal (as a user other than root), then follow the onscreen instructions.</p> - <pre><span class='ghcup-command'>curl https://get-ghcup.haskell.org -sSf | sh</span></pre> + <pre><span class='ghcup-command'>curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh</span></pre> <p class="other-help">If you don't like curl | sh, see <a href="https://gitlab.haskell.org/haskell/ghcup/blob/master/README.md#manual-install">other installation methods</a>.</p> </div> @@ -142,7 +142,7 @@ <div> <p>To install Haskell, if you are running Linux, macOS or FreeBSD,<br/>run the following in your terminal (as a user other than root), then follow the onscreen instructions.</p> - <pre><span class='ghcup-command'>curl https://get-ghcup.haskell.org -sSf | sh</span></pre> + <pre><span class='ghcup-command'>curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh</span></pre> <p class="other-help">If you don't like curl | sh, see <a href="https://gitlab.haskell.org/haskell/ghcup/blob/master/README.md#manual-install">other installation methods</a>.</p> </div>