Update redirects and links to point to https
Graham Christensen committed
Jul 24, 2017 at 19:55 UTC
7d72fd4a9bb5d17691507c4db962e67330c17f4c
2 files changed
+4
-4
delft/delft-webserver.nix
+1
-1
@@ -73,7 +73,7 @@ in
73
74
{ # Catch-all site.
75
hostName = "old.nixos.org";
76
- globalRedirect = "http://nixos.org/";
76
+ globalRedirect = "https://nixos.org/";
77
}
78
79
{ hostName = "buildfarm.st.ewi.tudelft.nl";
nixos-org/webserver.nix
+3
-3
@@ -40,7 +40,7 @@ let
40
''
41
MaxKeepAliveRequests 0
42
43
- Redirect /binary-cache http://cache.nixos.org
43
+ Redirect /binary-cache https://cache.nixos.org
44
Redirect /releases/channels /channels
45
Redirect /tarballs http://tarballs.nixos.org
46
Redirect /releases/nixos https://d3g5gsiof5omrk.cloudfront.net/nixos
@@ -116,7 +116,7 @@ in
116
virtualHosts =
117
[ { # Catch-all site.
118
hostName = "www.nixos.org";
119
- globalRedirect = "http://nixos.org/";
119
+ globalRedirect = "https://nixos.org/";
120
}
121
122
(nixosVHostConfig // {
@@ -144,7 +144,7 @@ in
144
UseCanonicalName on
145
146
# We don't want /channels to be cached by CloudFront.
147
- Redirect /channels http://nixos.org/channels
147
+ Redirect /channels https://nixos.org/channels
148
'';
149
servedDirs =
150
[ { urlPath = "/";