Use https for Apt links instead of http
authorDaniel Gustafsson <daniel@yesql.se>
Tue, 5 Sep 2023 13:08:52 +0000 (15:08 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Tue, 5 Sep 2023 13:08:52 +0000 (15:08 +0200)
All traffic to the apt repo should use https and not http, fix two
http leftovers in the installation documentation.

Reported-by: Edward Flanders <edwardflanders@buyitdirect.co.uk>
Discussion: https://postgr.es/m/18085-da9a3df6f618a4fd@postgresql.org

templates/pages/download/linux/debian.html
templates/pages/download/linux/ubuntu.html

index 2cfbd240d9c48feb2146031afb891851c43a4f54..a866e0b64361cdf223d5bafd4893acc55d8b4cbb 100644 (file)
@@ -46,7 +46,7 @@ To use the apt repository, follow these steps:
 
 <div class="pg-script-container">
     <pre id="script-box" class="code"># Create the file repository configuration:
-sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
+sudo sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
 
 # Import the repository signing key:
 wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
index 0539171a99b026309358680d6045bd5ba4e559ff..6721b717c6caa2d462e1e60b9fd731cd4636828b 100644 (file)
@@ -47,7 +47,7 @@ To use the apt repository, follow these steps:
 
 <div class="pg-script-container">
     <pre id="script-box" class="code"># Create the file repository configuration:
-sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
+sudo sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
 
 # Import the repository signing key:
 wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -